I'd expect either one to be very reliable and safe, and would buy whichever one you liked driving the most and/or which offers the best features.
I haven't driven the updated RAV4 or updated CR-V, but the 2013-2015 had a much firmer ride than the 2012-2014 CR-V. A matter of taste which rides better.
If your only concern with the CR-V is that it won't be reliable, I wouldn't be concerned about this. Honda has been using a CVT-type transmission in these since 2015, but in other Hondas for a little longer. While CVTs can be a reliability question mark, there have been no indications of problems with Honda's CVT yet.