On the stability of the generalized sine functional equations