Replace some usages of the deprecated API in camel-jclouds