Add RTCW's trap_R_GetSkinModel to cgame/ui

Added range check and null name check in RE_GetSkinModel.