Settings: Allow different maximum vales for each gamma control.

Change-Id: If79a0d988d09ec15e05bc08b5cac7015d793dabc
Fix crash if HW tuning framework isn't present.

Change-Id: I0128d57a5a46e87fe414a2682847ff877d8b1428
Merge "Fix crash if HW tuning framework isn't present." into jb3