compiler: put static variables into unit level and not into parent class/object/record (fixes bug #18131) git-svn-id: trunk@16494 -