Only steal ~# as a reserved operator when MagicHash is enabled; fixes #7776