In CGSCC mode we cannot delete internal library functions, esp. __kmpc_alloc_shared, or we trigger an assertion. While the assertion is probably too narrow, we avoid deleting those unused functions for now to unblock the AMDGPU buildbot.