Check if mutex created.

 * Add check if AXIS2_MALLOC returned NULL in axutil_thread_mutex.
 * Add check if axutil_thread_mutex returned NULL in some functions.
Add some minor fixes.