curl: fix RPATH to find nghttp2 and libssh2 (#53894)
Fixes https://github.com/JuliaLang/julia/issues/48820
I think this is the proper fix, and there might be a configure option to
curl or nghttp2 to set it, but I haven't been found it. So we'll do it
that way.