settings/brightness: Make globals static
These are only meant for the current compilation module. Fix indent while at that.
The brightness code is from the very dawn of phosh, modernize a bit (spotted while reviewing !1478 (merged))
Edited by Guido Günther