OC-9952: Fix deprecation errors in knife azure

Rebased from https://github.com/opscode/knife-azure/pull/91.