[PATCH 5.10 451/545] spmi: trace: fix stack-out-of-bound access in SPMI tracing functions