[subprocess] check_error: do not use additional info as prototype

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>