buffer overrun in read_coff_res_dir * rescoff.c (read_coff_res_dir): Add more sanity checking. Tidy and correct existing checks.