libslpp: Fix return type of sprintf bug in get_version