[PATCH 5.10 276/317] media: lgdt3306a: Add a check against null-pointer-def