ldb: Add parameter to avoid NULL format string flagged by -Werror=format