benchmark: var to const
As discussed in #13732: this will change all var
to const
if applicable.
The main question is if this is wanted due to the churn.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
benchmark