mame: Use an intermediate variable in get_supported_games()
This forces Vala->C translator to introduce an additional variable for the array length instead of recomputing it on every iteration.
At least partially fixеs #111 (closed), and this is safe for 3.30.1 as well.
Edited by Alice Mikhaylenko