Codetools: remove extra typecast

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41458 4005530d-fff6-0310-9dd1-cebe43e6787f
LCL: Remove useless CheckChildrenHandles when menuitem is clicked. (is it needed by some widgetset?)

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