misc: k3_avs: Fix possible NULL pointer deference