Log Message: Add upstream patch to fix build with new jpeg. Thanks to obache@ for tracking it down. Fixes PR 41947.