MFC r262543:
Fix the struct reg mappings for i386 and amd64, which differ between illumos
and FreeBSD.