Ensure we re-evaluate gc batch size every time we enter gc_batch/1.
Merge bug26110