test: skip GC-dependent test on platforms on which we can't force GC.