cocoa: explicitly call DestroyGlobalCaret at CocoaWidget destruction to prevernt possible failure during subsequence release of TTimer of emulated caret

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