[PATCH 4.19 186/287] spmi: trace: fix stack-out-of-bound access in SPMI tracing functions