* configure.in: Try to find libpng via pkg-config first, since libpng-1.2.2 will come with a .pc file.