AudioRecord: fix AudioRecordThread crash upon exit
am: c60828e262

Change-Id: I5413101cf8f81dacc557425e42cad426d6a008f9