perf probe: Correct error message for non-structure type