Wrong cast in RabbitMQ implementation

Header values in RabbitMQ message is not String but library defined
ByteArray. So it cannot be cast.

Fix for JENKINS-24012

Task-Url: https://issues.jenkins-ci.org/browse/JENKINS-24012