Revert "Remove --icf=safe flag"

This reverts commit 0f320bda1f953363fd27d70a8aca6c844dc945c8.