libcore: Inline atomic constructors.

Servo really wants this.
auto merge of #18367 : pcwalton/rust/inline-atomic-constructors, r=thestinger

Servo really wants this.

r? @brson