avcodec/webp: Fixes null pointer dereference