v4l2videodec: Add ref/unref code to avoid crash