[BUILD] only enable regparm on x86 to avoid useless warnings

It complains at least on Solaris/sparc64 and OpenBSD/vax.
2 files changed