ext4: fix performance regression in ext4_writepages