Singular integral equations with flip and unbounded coefficients on rearrangement-invariant spaces