Disable Automatic brightness checkbox if automatic brightness is not available

port from jellybean branch: http://review.cyanogenmod.org/#/c/26134/

Change-Id: Ib32b9af5f79d5c5f7383dd5542891a82a17f3989