libhardware: Add QCOM_HARDWARE ifdefs

Signed-off-by: kecinzer <kecinzer@gmail.com>