g: refactor pinmux state printing function
g: refactor pinmux state printing function

This refactoring improves optional parameter alignment, includes
virtual pads in the output and shaves 44 bytes from the image size.

BRANCH=cr50, cr50-mp
BUG=none

TEST=saved pinmux command output in files pm.before and pm.after, then
     verified that the following command produced no output

     $ diff -w <(sort pm.before) <(sort pm.after)

Change-Id: I81c2fad8c9e87e05dd39c588340a82f83e3ab488
Signed-off-by: Vadim Bendebury <5515d6d2d0829cbe0dd0dcf2094aaded06d58514@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1731138
Reviewed-by: Mary Ruthven <81380f3403fed74252e92df3ed012a1819ec6296@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec