magit-wash-hunk: fix argument of magit-diff-refine-hunk

In magit-wash-hunk, magit-diff-refine-hunk seems to be called
invalid argument. So error occurs when variable magit-diff-refine-hunk
is set not nil.