Created DispatchQueueRelease macro with different definitions depending on the iOS version.