validate component number in opj_j2k_read_rgn (fixes 3635.pdf.asan.77.2930)

BTW: this issue has originally been reported upstream as http://code.google.com/p/openjpeg/issues/detail?id=166
Merge branch 'fixes' into sumatrapdf