Remove cgame ui_shared.c dependence