[amd64] Unify the register saving/restoring code for the fp/no-fp cases.