patches: fix trailing whitespace