[PATCH 5.4 243/411] md: fix an incorrect NULL check in does_sb_need_changing