[hybris-fb] Fix obs build errors on old targets. JB#46723
[hybris-fb] Fix obs build errors on old targets. JB#46723

For example sbj (Jolla 1) build fails because to android headers used
for the device do not define HWC_POWER_MODE_NORMAL etc.

Make it so that supporting hwc2 API (via custom types etc) depends on
whether standard headers declare support for hwc1.4 API.

Signed-off-by: Simo Piiroinen <6d5e5360bed3d486f7d9fb26b0f737f7d4fd45ee@jollamobile.com>

spiiroin/mce-plugin-libhybris,spiiroin/mce-plugin-libhybris,nemomobile/mce-plugin-libhybris,spiiroin/mce-plugin-libhybris,nemomobile/mce-plugin-libhybris,nemomobile/mce-plugin-libhybris,nemomobile/mce-plugin-libhybris,spiiroin/mce-plugin-libhybris