add threadProtection when addImageCachedTask with block.

add threadProtection when addImageCachedTask with block and have
‘dispatch_queue_set_specific’ & ‘dispatch_get_specific’  instead  of
‘dispatch_get_current_queue’ because 'dispatch_get_current_queue' is
deprecated in iOS6.0+
add way 2 to verify the queue