libgo: fix for unaligned read in go-unwind.c's read_encoded_value()

Change code to work properly reading unaligned data on architectures
that don't support unaliged reads. This fixes a regression (broke
Solaris/sparc) introduced in https://golang.org/cl/90235.

Change-Id: If85425eb603579e32c3378c1c60f5177c1fa48b3
Reviewed-on: https://go-review.googlesource.com/111296
Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 file changed