avalon: if result_wrong >= get_work_count jump out the read loop

Sometimes the fpga controller give all wrong result and didn't change the buffer status