Make sure confirm_resize finishes before setting vm_state to ACTIVE

Setting it to ACTIVE to early allow new resize operations to be
started before this one has finished which might end up badly.

Resolves bug 1161529.

Change-Id: I079da4e271469739504fa87e23149d03652d98f0