Merge pull request #6981 from lioncash/const CodeWidget/CodeViewWidget: Make symbol pointers const where applicable