[openstack] Fix for OpenStack flavor id calculation.