chore: Bump taffy to 0.5.1 (#34817)

We've had problems in the past with bumping past 0.5.2 due to perf
regressions reported by @huacnlee; 0.5.1 was fine though.

Hence, let's bump taffy to 0.5.1 as a safe bet and then try to push past
0.5.2 (after we identify the root cause of regression
Related to #19189
Release Notes:

- N/A
35b4a918c9Piotr Osiewicz committed on 7/21/2025, 1:43:51 PM· committed by GitHubparent56fd950
3 files changedLine totals unavailable