Fix compilation when macro HWC_DEVICE_API_VERSION_0_1 defined

compilation in previous android versions is broken by 3f201846fd3123d0aad43c76496d8bc960f7cda0