Build audio.primary.* with BOARD_VNDK_VERSION

Add libhardware_headers to the dependency list since
hardware/libhardware/include is not added to the global include path
when building with BOARD_VNDK_VERSION. Also, a few headers - pthread.h,
unistd.h - are explicitly added.

Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j audio.primary.msm8998
Change-Id: I908aed7cf9c5aa970d1e4486dcff32d20d44aebd
7 files changed
tree: 3bad9672bfc51ec4b5993bb30752f148b35f3e73
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk