read-cache*.h: move declarations for read-cache.c functions from cache.h