[tests] Change the db_test to link to the libopenbsc.a

This should keep the test compiling in the future. It will
link to the libopenbsc.a to get all symbols. We do this in
the other tests too.
2 files changed