opencv: Add --with-cuda option

Add --with-cuda option to installer. Requires homebrew-versions/gcc46.