util: Introduce qemu_thread_set_affinity() and qemu_thread_get_affinity()