Fix for #7602, Pyramids and Histogram tabs should be hidden for WMS layers in raster properties dialog