Properly reset `forinifcheckneeded` state

If not reset, this value can lead to out-of-bounds array indexing in
subsequent invocations of the JSHint function.