XD-1295 Support proxied channels in ModuleTypeConversionPlugin

Checks whether the channel is proxied and if so, extracts the target object
before casting to AbstractMessageChannel.

Fixes a problem where enabling JMX causes the channels to be proxied by
IntegrationMBeanExporter.