fix bug that libhook doesn't work in system_server

Signed-off-by: Wenzhao <wzhfang@marvell.com>