Make libaudiofoundation can be a static library.

As libaudiofoundation is not part of VNDK, it may break VTS build. Make
libaudiofoundation be a static library can help solve the problem.

Test: make, atest VtsHalAudioV5_0Target
Bug: 142683018
Bug: 150299743
Change-Id: I814c5380dfa5269fccc7bd37e29f308f1bc9bf28
(cherry picked from commit 54b0d31e6a46edb1f422822119bcaf7fda764186)
Merged-In: I814c5380dfa5269fccc7bd37e29f308f1bc9bf28
1 file changed