MakeImageCache
Both containerd and graphdriver image service use the same code to create the cache - they only supply their own `cacheAdaptor` struct. Extract the shared code to `cache.New`. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>