Use .diff instead of .patch for github commit sourced patches

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.

Fixes #28315.
Fixes #28335.
Closes #28339.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>