Expose performMinorGC (#8257)

Signed-off-by: Austin Seipp <austin@well-typed.com>