Fix OpenFOAM reader incorrect caching

If the CacheMesh option is set to off the mesh and corresponding
subreaders were still being stored and this caused a high
memory overhead. This fixes that issue.