[PATCH openEuler-22.03-LTS] block: don't set GD_NEED_PART_SCAN if scan partition failed