[PATCH OLK-6.6 V2 06/18] cachefiles, erofs: Fix NULL deref in when cachefiles is not doing ondemand-mode