Don't leak memory when failing to load CRN or KTX cubemaps.