Giants' Cueto exits with groin strain, to have MRI