ext4: only look at the bg_flags field if it is valid