LCD_KCAL: Prevent out-of-range input values

Change-Id: I654949c69d22b93857231d6fd24a71a446399d5b