Current-driven instabilities of an electromagnetically accelerated plasma