ugtrain: unify the definition of PRELOAD_VAR

This just moves it to the common header.