validate tile sizes in opj_j2k_read_siz (fixes at least 2539.pdf.SIGFPE.706.1712, 3622.pdf.SIGFPE.706.2916 and 4008.pdf.SIGFPE.706.3345)

BTW: this issue has originally been reported upstream as http://code.google.com/p/openjpeg/issues/detail?id=169
validate component indices in opj_jp2_apply_cdef (fixes 4149.pdf.SIGSEGV.cf7.3501)