test/utils: stop using local variable with global return
test/utils: stop using local variable with global return

Removes warnings about returning a local variable's address.  The code
was "safe" because it was always returned before the stack was returned
from, but this change makes it "safer."

Signed-off-by: Patrick Venture <36c53fa43f47f3fd67cb2fc38031827244d18a1f@google.com>
Change-Id: I675dfd1ae348dcf6a3bc47b9c1ca904da11238af

openbmc/phosphor-ipmi-blobs