libgo: simplify gotest script to avoid sed substitution to \n

Change-Id: Ic56720666f6ee3c5e369e1e65f9c7c504bbb6c9e
Reviewed-on: https://go-review.googlesource.com/c/145057
Reviewed-by: Than McIntosh <thanm@google.com>
1 file changed