Retry if interrupted before mMessageThread has joined.

 - Taking the same change from pirama in fw/base/rs:
   I3213091a0e996449bceb403dffca3063786d5a65
   I452124915ea3f19610e6d4a3411d741f2f604af2
 - If interrupted during mMessageThread.join(), retry the join instead
   of assuming the thread has joined and continuing.  Continuing to destroy
   the context will cause a segfault when the message thread attempts to
   use the destroyed context.
 - Interrupt current thread if InterruptedException is received during
   Thread.join().  Also, log the interruption.

Change-Id: Iaba078318141eb74d0cf20e00e47be0c8edde59f
1 file changed