Fix LoopAccessAnalysis when potentially nullptr check are involved