[dev.power64] liblink: fix handling of $nnn(reg)

LGTM=minux
R=minux
CC=golang-codereviews
https://codereview.appspot.com/126180043