fix a massive jp2 reader regression!

It there was a large merge and all the jp2 glymur stuff got removed.
Merge pull request #762 from Cadair/master

fix a massive jp2 reader regression!