Fix #28315, use .diff instead of .patch from github

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"$' .`
~~~