[PATCH 4.14 064/122] mtd: physmap_of: Release resources on error