avcodec/mpegvideo: fix buffer clear code so it should work with negative linesizes