Tidy up asm! usage in libstd
auto merge of #10021 : alexcrichton/rust/asm-now-analyzed-correctly, r=luqmana

We got a snapshot, taking care of a note to myself.