make: Fix `sed` command for LLVM libraries with no symbol versioning (#54672)
If the LLVM library was built without symbol versioning, previously this
would return the `nm` output in its entirety, instead of correctly
reporting "" as the LLVM symbol version.