ui/pixman: add qemu_pixman_check_format