[amd64] Fix the passing of nested structures in registers which cross an 8 byte boundary in pinvoke. Fixes #25095.