Electronic structure of oxygen-doped gallium arsenide