staticcheck: don't compare two nodes by rendering if their types don't match
staticcheck: don't compare two nodes by rendering if their types don't match

This speeds up SA4018 by a factor of 5.

Updates gh-601
Updates gh-606

dominikh/go-tools,dominikh/go-tools,dominikh/go-tools,dominikh/go-tools