Fix static linkage in bindgen bindings

A bug in Soong was causing static libraries to propagate when they
shouldn't have.

Switch from static_libs to whole_static_libs to propagate these
libraries as intended. And because they're included whole now, make sure
to include necessary shared dependencies as well.

Bug: 377932175
Test: m
Change-Id: Id42ee6b3cdf691003cbb26362b092a34e4996dc5
1 file changed