mbtool: Fix missing include in logging.c on GNU systems