smc: fix out of bound access in smc_nl_get_sys_info()