remove duplicate 'const' declaration

Signed-off-by: Sami Kerola <kerolasa@iki.fi>