nova boot failure while the vm state/task_state is set by sync code

For spawning, it will loop to check the powervc vm instance status,
there will be a timing window that the VM because active, then the sync
is running here, but the driver's spawning is till sleeping, then after
this sync code run, nova framework will fail with above exception..

This sync code need to be retained there as the VM might stick with
build/spawning state like the nova-powervc is abnormal killed...,
the fix solution can be:
1. create a dict in sync code, and put such state instance id to
this dict,
2. in next sync sycle, check if the instance is still in build/spawning,
 but the powervc state is in acitve/none, then update status and remove
the id from the dict, this will delay the state updating in sync
process to avoid the time window that driver.spawning is sleeping
to poll the powervc instance state.

Change-Id: I7fe9f5f2b48c9758bc102ebf209d631c0308a316
Closes-Bug: 1388683
(cherry picked from commit 9492f9637e315b0a456999efac6a214951eed66e)