cocoa: commit accSone patch which moves default gdi object creation/destruction to widgetset constructor/destructor. This makes them live inside autorelease pool. (issue #0025321)

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@43457 4005530d-fff6-0310-9dd1-cebe43e6787f