5ebe5b4582
Move the int32 ptr comparison into a helper that first checks whether the encoded pointer-sized default is representable as int32_t. This avoids ILP32 type-limit warnings.