stgit.el: Break out diff whitespace arg handling to separate function