It may be possible to post-process the resulting assembler code, but (assuming we could) it would be quite ugly.
Too bad, but there is no way around that :(
I've applied the following patch to x86emu and it seems to work better:
So, I guess the question is, how important is support for current/legacy x86emu versions?
Very. Almost every linux distro in the wild is affected by this, so this is a showstopper for qemu switching from lgpl vgabios to seabios vgabios.