[GLib] Made ResourceCache:IsResourceCached () verify the hashes of cached resources.