Reduce the number of JAI ImageIO registrations (rebased onto dev_4_4)



This is the same as gh-583 but rebased onto dev_4_4.

----

Fixes ticket #11034.