[X86] Add intrinsics for reading and writing to the flags register