pan/decode: Resolve crash with NULL attr/varyings