Mesa/Soong fixes
This is a set of fixes I found while creating the gfxstream/Mesa hybrid, here:
https://android-review.googlesource.com/q/topic:%22gfxstream-guest-linux-wsi-support%22
This allows building Mesa in the AOSP Soong build system more easier.