check_cswch - make strtol_or_err() static

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>