Added argument checking to SrcMLElement.GetLanguageForUnit(XElement).