compiler: Correct initialization order determination.

R=iant
CC=gofrontend-dev
https://codereview.appspot.com/7221052