posix: remove call to 5.2-only lua_tointegerx and simplify.

* ext/posix/posix.c (interror): Remove, and fold functionality
from here...
(checkinteger): ...to here.
(argtypeerror): Simplify accordingly.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>