Allow serializing rasters with offline refs even with support disabled

It'll still be forbidden to load the data