avcodec/av1dec: Check for unset obu instead of crashing