omcache: make sure that bodylen >= extlen + keylen

Make sure that invalid responses can't create omcache_value_t objects that
would point to invalid memory.  Also added a check for response struct's
datatype field while at it.