avoid C compiler warnings for different integer types and signedness when bounds-checking index in obj.pop() optimisation