[Bug 981850] qemu fails to build with GCC6