[PATCH 5.4 523/658] ext4: fix undefined behavior in bit shift for ext4_check_flag_values