This implements IR and bitcode support for the memory attribute, as proposed in https://discourse.llvm.org/t/rfc-unify-memory-effect-attributes/65579.
The new attribute is not used for anything yet (and as such, the old memory attributes are unaffected).
Here and in the examples, did we go back on the other front?