attribute table: allow toggling editing if layer is capabable of any change, not only attributes (fixes #7504)