Hintsdb: fix build with USE_TDB