Fix #28315, use .diff instead of .patch from github (second try)

This modifies multiple formulae in a single commit, replacing
the patch suffix with diff per #28315. I used the following
command:
~~~
sed -i -e 's@patch"$@diff"@' `grep -rlI 'commit.*patch"$' .`
~~~
The patch shasums are then computed using:
~~~
brew fetch --build-from-source `git st | sed -e 's@^ M@@'`
~~~
and manually updated.

Replacement for #28334.