Add JPEG to list of linked libraries
This fixes compilation when e.g. libjasper is not found.
Reviewed by: cgilles
Differential Revision: https://phabricator.kde.org/D14866