Sources of carrier compensation in arsenic-doped HgCdTe