Shape driven confluent rigidity transition in curved biological tissues