work-around openjpeg issue 205 (regression between 2.1.1 and 2.2)