Fix NULL deref in balance_pgdat()