Various non-moving GC fixes
A few minor improvements and one significant bug fix:
- Ensure that we set the segment size before zeroing the segment bitmap (fixing a potential soundness issue)
- Memoize the block count to avoid relying on optimisation to do the same
- Eagerly flush the update remembered sets of all capabilities during minor GCs
Edited by Ben Gamari