Add adjustment method common gamma ramp update function and restore function

Signed-off-by: Mattias Andrée <maandree@operamail.com>