Settings: Allow different maximum vales for each gamma control

Change-Id: If79a0d988d09ec15e05bc08b5cac7015d793dabc
Merge branch 'jb43-legacy' of https://github.com/ParanoidAndroid/android_packages_apps_Settings into jb43-legacy