const'ify pointer

2 jobs for master
Status Name Job ID Coverage
  Build
canceled build_clazy_clang_tidy #98912

canceled linux kf5-qt5 qt5.15 #98911