conditionally use dispatch_get_specific() and dispatch_queue_set_specific() to re-add support for iOS 4.x