Magnetic anisotropy of the noncollinear antiferromagnet IrMn3