cmd/ld: add .note.GNU-stack section for external linking
Fixes issue 5392.

R=iant, r
CC=golang-dev
https://codereview.appspot.com/9119043