curl: add missing libssh2 dependency

Closes #34645.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>