Fix warnings: update code to use id<NSMenuItem> and not NSMenuItem*

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gworkspace/trunk@38275 72102866-910b-0410-8b05-ffd578937521