mm-video: vidc: Fix a race condition in sending OMX_CommandPortDisable

Due to a race condition event OMX_CommandPortDisable might send to
OMX client twice once due to OMX_COMPONENT_OUTPUT_DISABLE_PENDING
flag and once due to OMX_COMPONENT_DISABLE_OUTPUT_DEFERRED flag.
This change fix the race condition.

Change-Id: I34fc393b4db174c5c20b76ff556a065f2dd17ba0
CRs-Fixed: 524852
Merge "Merge "DashCodec: Disable dynamic buffer mode""
Merge "Merge "Merge "DashCodec: Disable dynamic buffer mode"""
Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices""
Merge "Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices"""
Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices""
Merge "Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices"""
Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices""
Merge "Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices"""
Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices""
Merge "Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices"""
Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices""
Merge "Merge "Merge "mm-video: vdec: Switch to hevc fullDSP on unsupported devices"""
Merge "Merge "mm-video: vidc: Support s3d framepacking information""
Merge "Merge "Merge "mm-video: vidc: Support s3d framepacking information"""
Merge "Merge "mm-video-v4l2: vdec: Support adaptive playback mode""
Merge "Merge "Merge "mm-video-v4l2: vdec: Support adaptive playback mode"""
Merge "Merge "mm-video-v4l2: vdec: Support adaptive playback mode""
Merge "Merge "Merge "mm-video-v4l2: vdec: Support adaptive playback mode"""
Merge "Merge "mm-video-v4l2: vdec: Support adaptive playback mode""