Update the JP2KAK and JPIPKAK drivers for compatibility with Kakadu v7.5

Consistently use the new KDU_{MAJOR,MINOR,PATCH}_VERSION defines instead
of the compile-time KAKADU_VERSION define that we unofficially
supported and tried badly to autodetect. For older Kakadu releases,
require that the user specify the new-style defines at compile-time.

[fixes #4575 #5344]

git-svn-id: https://svn.osgeo.org/gdal/trunk@27787 f0d54148-0727-0410-94bb-9a71ac55c965
Merge branch 'trunk' into trunk_android