Fix a small leak found by Coverity
Tiny code change to fix show_icons_in_paint_c.pl

... by removing some intraproject dependencies from the code.
OSX: fix DPI detection
fix possible use of uninitialized value in previous commit