posix: remove is-comparison between integers
Comparing integers by identity relies on a CPython implementation
detail of caching integers between -5 and 256.[1]
[1] <http://docs.python.org/c-api/int.html#PyInt_FromLong>
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null