Make vcl/source/filter/jpeg/jpegc.c be C++ code

...simplify the corresponding jpeg.h now that it deals in C++, and fold
SetJpegPreviewSizeHint into ReadJPEG to avoid global static data.

Change-Id: Id3721bdb37be05e3e6bbbaef3b0aa0c0e1a9ff5a