[Cocoa] Update some code to be more ARC-compatible to prepare for future ARC adoption
Created attachment 341838 [details] Patch
Created attachment 341841 [details] Patch
Committed r232452: <https://trac.webkit.org/changeset/232452>
<rdar://problem/40757453>