[PATCH 4.14 158/193] ubi: Fix possible null-ptr-deref in ubi_free_volume()