[server][AMQPConsumer] Use string::compare() instead of strncmp()

Because we use C++ not C!