get_cache_max function

Get the maximum memory size available for the GDAL block cache