Make sure confirm_resize finishes before setting vm_state to ACTIVE

Setting it to ACTIVE to early will allow new resize or whatever
operations to start before this one has finished which might result
in all sorts of conflicts.

Resolves bug 1161529.

Change-Id: I079da4e271469739504fa87e23149d03652d98f0