On variational formulation of current drive problem in uniformly magnetized relativistic plasma