Convert references to logfile/loglevel to use qemu_log*() macros