Reduce the number of JAI ImageIO registrations

Fixes ticket #11034.