Phonon-induced decoherence of optical spin control in a doped semiconductor quantum dot