Removed double cast in CodeCache::initialize_heaps