ugtrain.cpp: integrate dyn. mem. hacking

Now, we are able to read from the FIFO and to parse the data out
of it. With that we can really freeze dynamic memory from a
constructor.

Tested with the number of lives in the "HeroAircraft" object from
32-bit "chromium-bsu".