ui_shared.c needs to be compiled separately for the cgame module

Otherwise "#ifdef CGAME" in it has no effect