Is it possible that we just don't know the full and complete context of His quoting Genesis? Remember these accounts were recorded from memory, years later. It's possible He touched on something about Genesis they didn't remember or didn't think was relevant to their testimony - or hardly at all, beyond what He quoted. And of what we do have, it doesn't appear Jesus was concerned so much about all the details lining up (when He quoted Scripture) as He was about people understanding broad concepts of loving God and their neighbor.
For example, He never spelled out being fully God and fully man, from what we have... but we fight about it? Would He want us to quarrel over something that would appear He made no great issue of Himself? And there would be many other such doctrines that divides us, that even the Gospel writers didn't think was so important to record or speculate on.
Also remember that it seems clear that the Gospels don't read like a filmstrip, but snapshots through His three years of ministry. We have a similar picture of Jesus and His ministry, of eyewitnesses, as we do with the whole Israelite history. There is a lot of things we don't know, that if in reality was true would contradict what we drew from the limited information available. So, I think it's dangerous to let such things divide us, when we could be dividing ourselves over what is objectively false in the name of the truth we decided. And I mention the division because the falling from faith was mentioned - sometimes I think people fall from faith because of the divisions themselves, rather than lack of understanding.
To my knowledge, we don't have accounts of Jesus laying out Scripture as a theologian would today, verse by verse or cross referencing as a commentary. He pulled a quote here and there. And pulling a quote to make a point doesn't make it any more literal than using a cliche/anecdote makes a point. We simply don't have enough commentary of His on Genesis to draw that dogmatically, imo.
And WHAT IF He lacked understanding? Does that invalidate His wisdom, His love, compassion? Very early in my walk, I asked a pastor "If Jesus had a wife, was not a virgin, would that have marred His sacrifice? "In my 30 years of ministry, no one has ever asked me that before." Could a limited scientific understanding reflect His TRULY emptying Himself and humbling Himself to the humanity of the time? And again, does it matter? If He meant it literally, and wrong, you seriously think that puts a dent in the love He showed for us? LOVE covers a multitude of sins... not knowledge.