libclamav: fix null check in cache_remove()