[PATCH openEuler-22.03-LTS-SP2 20/23] mtd/ubi/block: add error handling support for add_disk()