omx_base_component_Destructor: wait for thread.

To fix a race condition between the Destructor and the thread
polling for messages, we need to wait until the thread exists,
so use pthread_join instead of pthread_detach here.