[core]: fix xrandr usage inside gama view

The config.h defined macro is now added to the code.