CUDA: Filter out -framework arguments during device linking
The filter in !2512 (merged) removes -framework
but not the framework name that comes after it. Revise the logic to remove both.
Fixes: #18911 (closed)
The filter in !2512 (merged) removes -framework
but not the framework name that comes after it. Revise the logic to remove both.
Fixes: #18911 (closed)