hal: testapp: pthread_exit resulting in abort

-In testapp code pthread_exit api is resulting in abort
for 64bit.
-As a fix, terminating the threads by calling return instead of
pthread_exit.

Change-Id: I2f686c3eda94470d33403b2e88d5110888995c60
2 files changed