[GEOS-5631] Build failure in wms GetFeatureInfoIntegrationTest

This commit disposes the custom template so that other tests in the fixture are not affected by it.