libload: on amd64, save caller-save registers before doing a symbol fixup (fixes eg write() being called with the wrong parameters)