avcodec/pictordec: avoid pointers in picmemset()