audio: Change strtok in audiohal to strtok_r [1/2]

PD#SWPL-192409

Problem:
1.strtok is an unsafe function that affects
the value of an incoming variable when it
is called multiple times in the same thread.

Solution:
1.Change strtok to strtok_r.
2.The third parameter of strtok_r stores
the remaining contents of the input variable
and is a thread-safe function.

Verify:
yocto

Change-Id: If0fc37dffce780bf7f62542a54dd6b45c981751f
Signed-off-by: hui.liu <hui.liu@amlogic.com>
3 files changed