Some of the macro names have changed in V9 and some things are no longer done at compile time and are instead done at runtime.
COLOR_SWAP no longer exists and swapping the bits is not done at compile time anymore. It is done at runtime.
disp_drv = lv.disp_create(width, height)
disp_drv.set_color_format(lv.COLOR_FORMAT.NATIVE_REVERSE)