Disable query cache completely instead of invalidating it repeatedly.

Also the _elgg_invalidate_query_cache() was removed in Elgg 1.9, so it couldn't had been used anyway.