sheep/object_cache: fix potential crash in object_cache_remove

If object is not found, entry reference to NULL, the below statement
will cause a crash.
struct object_cache *oc = entry->oc;

Signed-off-by: Ruoyu <liangry@ucweb.com>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>