fix some return mismatch against amqp_gen_consumer