Make DEBUGPRINT macro portable, make tables const, removed most of static variables.
Make DEBUGPRINT macro portable, make tables const, removed most of static variables.

[r1010]

MatzeB/libfirm,8l/libfirm,libfirm/libfirm,8l/libfirm,killbug2004/libfirm,8l/libfirm,killbug2004/libfirm,jonashaag/libfirm,MatzeB/libfirm,killbug2004/libfirm,MatzeB/libfirm,8l/libfirm,jonashaag/libfirm,MatzeB/libfirm,8l/libfirm,jonashaag/libfirm,libfirm/libfirm,libfirm/libfirm,jonashaag/libfirm,killbug2004/libfirm,davidgiven/libfirm,MatzeB/libfirm,davidgiven/libfirm,jonashaag/libfirm,davidgiven/libfirm,killbug2004/libfirm,libfirm/libfirm,8l/libfirm,8l/libfirm,davidgiven/libfirm,jonashaag/libfirm,jonashaag/libfirm,davidgiven/libfirm,MatzeB/libfirm,killbug2004/libfirm,MatzeB/libfirm,davidgiven/libfirm,killbug2004/libfirm,libfirm/libfirm,davidgiven/libfirm