[RewriteStatepointsForGC] Bugfix for change 246133