Fix build for c99

Fix two implicit declarations to allow clang building.

Change-Id: I934e7d455b22e55e0572ccd40f351ec5b50acb4d
Merge "Fix build for c99"
Merge https://android.googlesource.com/platform/external/jpeg into jb-devel-mr2-release