AEGIS: Host Galaxy Morphologies of X-Ray-selected and Infrared-selected Active Galactic Nuclei at 0.2 ≤ z < 1.2