x86: Wrap small helper functions from libgcc to avoid an ABI mismatch