[PATCH 12/14] perf probe: Use right type to access array elements