cmd/ld: generate relocated DWARF in hostobj mode

While we're here, downgrade DWARF to version 2.
We're not using any version 3 features, and OS X gdb
only supports version 2.

Fixes issue 3436.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7891044