hal: make sure hal compiles with AOSP flag

 Make sure if the TARGET_USES_AOSP flag is defined
 then all QTI specific features should be disabled
 and compilation is successfull.

Change-Id: I440b538b5449177e14ca47f1dcfbec70a2ee7fed
7 files changed