Determination of trace constituents of high-purity gallium arsenide