video: tegra: fix deallocate job and NULL check