[PATCH openEuler-5.10-LTS 367/427] md: fix an incorrect NULL check in does_sb_need_changing