COMP: Ensure "curl" is built against Slicer OpenSSL library

This commit ensure the correct CMake variable is used. The issue
was originally introduced by commit r22773.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23007 3bd1e089-480b-0410-8dfb-8563597acbee