[ImageDecoder] Support abbreviated JPEG datastreams

See libjpeg documentation for an explanation of abbreviated streams
Use error messages and IDs from Tamarin

resources/ErrorConstants.xml is taken from Tamarin sources. Tamarin is
licensed under MPL 2.0, which is compatible with LGPL.

tools/errorgen reads ErrorConstants.xml and generates
errorconstants.{h,cpp}.

throwError() takes errorID from errorconstants.h, retrieves the error
message, constructs an Error object and throws it.

TODO:
- Run make errorgen automatically by make
- Tamarin has error message translations for several languages,
  copy them, too.
Update copyright year