framework/task_manager: Apply more general Defines
framework/task_manager: Apply more general Defines

1. Reduce type castings
Preveously there were too many type castings which deteriorate readablity.
Therefore the following modifications have been applied.
- Remove unnecessary type casting.
- Modify the input of internal function to remove type castings.

2. Redefine Defines and applied
Previously, Defines included some type castings, therefore these Defines was not able to apply other cases.
As type castings were removed, new Defines can be applied generally.
Following Defines have been redefined and applied to task_manager_core.c.
- #define CB_MSG_OF(X) (X)->cb_data->msg
- #define CB_MSGSIZE_OF(X) (X)->cb_data->msg_size

(Previous Defines)
- #define CB_FUNC_OF(X) ((tm_termination_info_t *)X)->cb
- #define CB_DATA_OF(X) ((tm_termination_info_t *)X)->cb_data
- #define CB_MSG_OF(X) ((tm_msg_t *)CB_DATA_OF(X))->msg
- #define CB_MSGSIZE_OF(X) ((tm_msg_t *)CB_DATA_OF(X))->msg_size

junmin-kim/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,chanijjani/TizenRT,Samsung/TizenRT,HONGCHAEHEE/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,pillip8282/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,JeonginKim/TizenRT,sunghan-chang/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,davidfather/TizenRT,an4967/TizenRT,jsdosa/TizenRT,davidfather/TizenRT,pillip8282/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,HONGCHAEHEE/TizenRT,Samsung/TizenRT,HONGCHAEHEE/TizenRT,an4967/TizenRT,chanijjani/TizenRT,chanijjani/TizenRT,junmin-kim/TizenRT,chanijjani/TizenRT,Samsung/TizenRT,davidfather/TizenRT,pillip8282/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,jsdosa/TizenRT,JeonginKim/TizenRT,jeongchanKim/TizenRT,pillip8282/TizenRT,chanijjani/TizenRT,chanijjani/TizenRT,HONGCHAEHEE/TizenRT,jeongchanKim/TizenRT,davidfather/TizenRT,jeongarmy/TizenRT,junmin-kim/TizenRT,Samsung/TizenRT,JeonginKim/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,JeonginKim/TizenRT,an4967/TizenRT,pillip8282/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,JeonginKim/TizenRT,jeongarmy/TizenRT,JeonginKim/TizenRT,an4967/TizenRT,davidfather/TizenRT,jsdosa/TizenRT,sunghan-chang/TizenRT,junmin-kim/TizenRT,HONGCHAEHEE/TizenRT,jsdosa/TizenRT,an4967/TizenRT,an4967/TizenRT,chanijjani/TizenRT,sunghan-chang/TizenRT