Add checks before removing an active buffer in OMXNodeInstance

With this change, OMXNodeInstance will remove a buffer from it's
active list only if OMX_FreeBuffer returns successfully.

Change-Id: I8f6b675cdf1cede60dfe0aebaa902139e44b1233
1 file changed