radeonsi/vcn: protect when getting associated_data
What does this MR do and why?
radeonsi/vcn: protect when getting associated_data
vl_video_buffer_set_associated_data() allows to set
0 or NULL. In our case, 0 is a valid index. But when
we get the index, we need to make sure it has
a valid pipe_video_codec reference so 0 can be used.
Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>