Using different rock failure criteria in wellbore stability analysis