Move uses of enum to bitflags!.

There are still others, but this is the first batch.
This appears to be the only use of actual *bit* flags in LLVM apis, why make the other apis also move to the rust bitflags api?