[kde-base/gwenview] Backport patch from upstream fixing build with media-libs/jpeg-9 wrt bug #521696.

Package-Manager: portage-2.2.10
[eclass] Adjust EAPI handling as per review from pesa.

:-0 is unnecessary in "case ${EAPI:-0}" as it will be matched by "*)", so it
can be moved to the die statement.