qemu-log: Avoid function call for disabled qemu_log_mask logging