lib/ntdb: Fix format string errors found by -Werror=format in ntdb tests