[Autoconf] Use AC_CHECK_LIBS to check existence of libqpidmessaging.

The macro automatically adds -l<library> to the linker option.
So I removed the explicit QPID_LIBS definition.