update histogram UI and options (#7619)
make raster source in General tab enabled (but read-only), so it can be copied ; add vector source to vector properties General tab, make UI consistent with that of raster properties