[openEuler-5.10-LTS 254/501] mtd: maps: Fix refcount leak in ap_flash_init