[PATCH 4.19 109/220] mtd: physmap_of: Release resources on error