Fix for solaris register allocation issue on amd64, by Martin Bochnig.