opj_dump.c: fix potential buffer overflow