Correct overflows in opj_j2k_update_image_data