Transformation of the Peregrine Breather Into Gray Solitons on a Vertically Sheared Current