Spin-orbit interaction in curved graphene ribbons