Issue #2611638 by Wim Leers, Nikhilesh Gupta: hook_entity_query_alter() is dead, remove it from entity.api.php