[PATCH openEuler-1.0-LTS] ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed