Fix performance-unnecessary-value-param clang-tidy issues am: b205efd45e am: 91bc122df0 am: 80c015b5ab am: 734457cdc7

Original change: https://android-review.googlesource.com/c/platform/art/+/2119390

Change-Id: I8f2871cc7f98133272458a5bde5d3a1edceb5746
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>