[PATCH 4.9 29/52] ext4: only look at the bg_flags field if it is valid