[PATCH 6.1 0051/1146] soc/tegra: cbb: Add checks for potential out of bound errors