vmscan: cleanup the scan batching code