Properly return error when invalid instance state is found

The OpenStack builder detects when an instance reaches an invalid state and prepares an error message. However the error message is never returned to the calling function. As such, Packer will continue building and try to ssh to an instance that is in ERROR state.