After D130366 the ptrtoint expression this used results in an error on 32-bit targets (the IR was already invalid previously, but only produced the error with -filetype=obj). Tweak the IR so it is correct for both 32-bit and 64-bit targets, and can thus continue working as a generic test.