Do not create llvm.used attribute if the list is empty