Silenced some deprecation warnings in contrib.sitemaps; refs #22384.