Include stdio.h. It was sneaking in through png.h

If you ./configure --without-libpng then stdio.h was not getting
pulled in, but is required in the jpeg code. Ensure it comes in.