Use max_block_wide/high in av1_write_coeffs_mb

This fix the invalid tx_type error happened when mb_to_right_edge
is negative

The invalid tx_type error will cause bitstream error and then
let the decoder hang in the while loop of read_golomb()

Change-Id: Ide6c3497cdd5b69b20b4b093241ed89ccc1b0f00
1 file changed