Peculiarities of the propagation of the fast magnetosonic mode in a curved magnetic field: a case of the hemicylindrical model of the magnetosphere