ref: properly free the data buffer in dav1d_ref_create on failure

It was allocated with dav1d_alloc_aligned(), so a simple free() is
not correct.
parent 93550d88
Pipeline #3918 passed with stages
in 5 minutes