decode: error out if the primary ref frame does not exist
decode: error out if the primary ref frame does not exist

Fixes a null pointer dereference with
clusterfuzz-testcase-minimized-dav1d_fuzzer-5670100066107392.
Credit to OSS-Fuzz

videolan/dav1d