sensors: make the static sensor list older API version compatible
sensors: make the static sensor list older API version compatible

The sensors device API version older than 1.1 doesn't have
fifoReserveEventCount and fifoMaxEventCount structure in
sensor_t structure, which will cause compiling error. This
change adds conditional compilation to make it compatible
with older API version.

Change-Id: Iba905108510276f9edb821a5f8286a53385590ca

TheStrix/platform-hardware-qcom-sensors,redmi2/android_hardware_qcom_sensors,dianlujitao/platform_hardware_qcom_sensors,dianlujitao/platform_hardware_qcom_sensors,TheStrix/platform-hardware-qcom-sensors,redmi2/android_hardware_qcom_sensors