#6303 crash in CheckBufferOverrun. Add check on loop variable in CheckBufferOverrun::checkScope().