Avoid a compiler warning with clang

Cast statement to const char* (from const unsigned char*) in
dbd_query_null() to quiet clang.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>