core: remvove duplicate 'const' declaration specifier

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>