add qcom hardware define for libhardware_legacy

Change-Id: I9067d0a404c4124270198f197c8ceb5a904c278f