ugtrain: dynmem: add out of memory bounds access check

We support growing memory objects now. Configuring values outside
the currently allocated memory object can be problematic this way.
So skip these during processing of the active config.