Close #10 Replace deprecated png_set_gray_1_2_4_to_8

... with png_set_expand_gray_1_2_4_to_8 introduced in libpng 1.2.9
(in 2006).

Should fix a part of http://sourceforge.net/p/pngwriter/bugs/1/