Bring back check for bad rlevel.  #159

OpenJPEG 1.5 needs the protection, it would seem.
Merge branch 'issue159' into devel