devel/llvm18: PLIST_SUB improvements [NFC]
Chase changes in library suffixes and fix an overly pesimistic
substitution. No functional change, but will reduce plist churn when 19
comes out assuming there aren't further upstream changes in suffixes.