checkcommits: simplify code according to gofmt
checkcommits: simplify code according to gofmt

gofmt -s (simplify) noted a number of simplifications that
could be made. Apply them.

Do this before we turn on enforcement in the CI system.

Partially Fixes: #102

Signed-off-by: Graham Whaley <95f36e5ac6982f4574a5c449c37cf652e934d2b9@intel.com>

devimc/tests,clearcontainers/tests,sboeuf/tests,bwarden/tests,MarioCarrilloA/tests,bwarden/tests,devimc/tests,MarioCarrilloA/tests,chavafg/tests,clearcontainers/tests,GabyCT/tests,sboeuf/tests,GabyCT/tests,chavafg/tests