[openEuler-5.10-LTS 259/501] mtd: partitions: Fix refcount leak in parse_redboot_of