Issue #2249723 by andrei.dincu: Replace variable_get with D8 code in  xmlsitemap_query_xmlsitemap_generate_alter()