replaced var with let in system.nim

Nitpicking.