Add a lint check for functions which return errors but the error
type isn't the last type in the return list.

Signed-off-by: David Symonds <dsymonds@golang.org>