Characterizing Omega-Regularity through Finite-Memory Determinacy of Games on Infinite Graphs