CLOUDSTACK-7354: Set isdynamicallyscalable before attempting to scale the VM

Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>