fix mocking osal api using ifdef
start to add task_create macro API for osal_none