Just tried compiling qemu from their git master and it has the same problem.
Compiling tag v5.0.0 and even branch 4.2.1 works fine.So i guess the problem isn't the debian patches, but whatever changed in master since the debian build 5.0-5
Regards. -- Simon John