[devel] Relocate some png_debug() statements

Putting them ahead of the test for png_ptr==NULL so the debug
statements accuratly reflect the fact that the function was entered.
1 file changed