tests/decode: Word around one driver issue

1.driver fail to bit match for NV12->I420 conversion when frmae size is not even.
2.Additional vp8 fix for resolution changes:uses latest updated video resolution reported from yami, not hte resolution from getoutput
similar logical to i420, can we put fwrite logical to one place? just like Halley's original code.