ndk-build: Use the value of the old_library field for the static library
ndk-build: Use the value of the old_library field for the static library

Fixes cases where there is no static library to link to (e.g.
libc++_shared.so) or the possibility that the static library is
different from the .la file name.

GStreamer/cerbero,fluendo/cerbero,GStreamer/cerbero,fluendo/cerbero,nirbheek/cerbero,nirbheek/cerbero,atsushieno/cerbero,GStreamer/cerbero,nirbheek/cerbero,fluendo/cerbero,atsushieno/cerbero,nirbheek/cerbero,fluendo/cerbero,fluendo/cerbero,GStreamer/cerbero,atsushieno/cerbero,GStreamer/cerbero,atsushieno/cerbero,atsushieno/cerbero