AdaptiveBacklight: fix illegal value exception.

Change-Id: I8ea84451c8dd4be35a2d2e62547fc81a2b704dd1
Merge remote-tracking branch 'cm/cm-12.0' into HEAD