Revert "mediacodec: wait to have the first frame successfully decoded to set the started flag"

This reverts commit 703cfc648ee8e3fe70ee276508f44321a0b7b993 as it does not solve any issue.
android thread: do not init the "finished" semaphore in the case of a detached thread.

This commit prevents the leak of the semaphore.