Tweaked helper macro for GCD memory management