Make window dimension asserts static
addressing comments on https://github.com/Arcterus/rust-snake/pull/7