Fixes a number of issues discovered since 1.12.4. From the release notes: go1.12.5 (released 2019/05/06) includes fixes to the compiler, the linker, the go command, the runtime, and the os package. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>