magit-diff-toggle-{,un,refine-}hunk: move definitions