add missing const in gamma functions parameters

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