[RewriteStatepointsForGC] Avoid using unrelocated pointers after safepoints