map_gfx: read rgb macros for palettes