Make SkJpegCodec compatible with libjpeg

BUG=skia:4470
BUG=skia:4520
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1687863003

Review URL: https://codereview.chromium.org/1687863003
diff --git a/gyp/codec.gyp b/gyp/codec.gyp
index 2043b35..9537f8a 100644
--- a/gyp/codec.gyp
+++ b/gyp/codec.gyp
@@ -66,6 +66,7 @@
       },
       'defines': [
         'TURBO_HAS_SKIP',
+        'TURBO_HAS_565',
       ],
       'conditions': [
         ['skia_codec_decodes_raw', {