Statically link missing libraries to libsurfaceflinger_unittest

Some targets do not have the library in their system or
vendor image so the test fails to run.

Fixes: 170341496
Test: atest -a libsurfaceflinger_unittest on cf_x86_64_phone-userdebug

Change-Id: I61e7702e6b36f218bebc7c87853001861a92741e
6 files changed