util: move declarations out of qemu-common.h