get_cache_used function

Get the size of memory in use by the GDAL block cache