Fix compilation when macro HWC_DEVICE_API_VERSION_0_1 defined