go: don't patch HEAD installs

The patch was inserting an extra case statement, but a duplicate case
statement is already included in HEAD (and devel).

Closes #23787.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>