avidec: simplify size parameter in memset()