check that there's at least one resolution for a tile in opj_tcd_init_decode_tile (fixes 1888.pdf.asan.35.988 and 2.pdf.SIGFPE.706.1112)
fix potential NULL-pointer dereference caused by testing the wrong variable after opj_realloc (happens only in OOM situations)
Merge branch 'fixes' into sumatrapdf
remove opj_tcd_init_decode_tile debug optimization