avcodec/jpeg2000dec: Improve readability of SOP check