pthread_exit: Replace pthread_exit with return to avoid memory leak

Test: Android Malloc Debug and dumpsys meminfo
Bug: 35680718
Change-Id: I7cea8141da7c11a054970044749b5c7b39448a3b
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
1 file changed