Fix small misuse of cast within oslo.messaging wrapper

cast() method doesn't return a value, the wrapper should do the same
accordingly.

See https://wiki.openstack.org/wiki/Oslo/Messaging#Client_Side_API

Change-Id: I8ab6f77fbb622134e434660c2a662ea08474e51f
Merge "Fix small misuse of cast within oslo.messaging wrapper"