[libpng16] Fixed pngvalid 'fail' function declaration on the Intel C Compiler.

This reverts to the previous 'static' implementation and works round
the 'unused static function' warning by using PNG_UNUSED().