Issue #2249723 by andrei.dincu: Replace cache_clear_all() and entity_info_cache_clear() with D8 code in xmlsitemap.module