Check null for the init stmt inside a for stmt

This pull request should fix the crash due to a lack of null check inside `short variable name` rule found in issue #36.