magit-blame-mode: fix disabling of incompatible modes

See #1607.