presets: Refactor macro expander implementation Change the macro expander to use vtable dispatch. Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>