If UG is at least patch9, add the prefix ug/ to all UG headers that we include.

This (together with the upcoming UG-3.9.1-patch9) fixes FS 1162

[[Imported from SVN: r8455]]