libstd: Inline more methods on bitflags.

Servo really wants this.

r? @nick29581