Match bitflags! macro style in latest rust

Latest rust changes suggest using `bitflags!` with curly braces.