Unify i386 and amd64 getcontextx.c, and use ifuncs while there.
In particular, use ifuncs for getcontextx_size(), also calculate the
size of the extended save area in resolver. Same for fillcontextx2().
Sponsored by: The FreeBSD Foundation
MFC after: 1 week