configure.ac: Use `PKG_CHECK_MODULES' macro.

* configure.ac: Use `PKG_CHECK_MODULES' macro instead of
  `AC_SEARCH_LIBS' to check if the needed version of libssh is
  installed.