Some ancient crocodiles may have chomped on plants instead of meat