coretext: check all allocation failures and release sooner
coretext: check all allocation failures and release sooner

All Create and Copy functions create new objects, so all of them may fail.

Keep using SAFE_CFRelease only in shared cleanup clauses.

MrSmile/libass,astiob/libass,ShiftMediaProject/libass,MrSmile/libass,libass/libass,libass/libass,ShiftMediaProject/libass,astiob/libass,xbmc/libass,xbmc/libass