[PATCH 5.15 689/779] spmi: trace: fix stack-out-of-bound access in SPMI tracing functions