jpeg2000: Check zero bit-plane validity