Umbrella-coplanar transition in the triangular XXZ model with arbitrary spin