framework/task_manager : Add invalid return check for handle
framework/task_manager : Add invalid return check for handle

taskmgr_get_handle_by_pid can return negative value(-4, TM_UNREGISTERED_APP), but it is used for index of array.

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