During shutdown, don't loop forever on a state transition to OMX_StateInvalid.
During shutdown, don't loop forever on a state transition to OMX_StateInvalid.

related-to-bug: 2420917

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base