Fix wmts-ign example when hosted

ol.source.Source#setAttributions is not exported. We can use the "attributions" constructor option in that case.