Flat-Directions in Grand Unification With $U(1)_R$ Symmetry