[PATCH 5.10 450/529] ubi: Fix possible null-ptr-deref in ubi_free_volume()