[RewriteStatepointsForGC] Use a SetVector for a worklist [NFC]