[PATCH openEuler-1.0-LTS 5/9] block/badblocks: fix the bug of reverse order