magit-log-toggle-margin: more speedy toggle magit-log-margin

remove 'if' nesting
if 'magit-log-show-margin' is non-nil, do margin open/close only
if 'magit-log-show-margin' is nil, turn on and refresh