Voltage control of the magnetic properties of charged semiconductor quantum dots containing magnetic ions