Move deallocation of Core Foundation objects around