Fix #25138: Notes in standard notation staff now cannot be moved to guitar tab staff and vice/versa.

Fix for #25138, where notes in standard notation staff could be moved to a tablature staff with the move-up/move-down commands (and vice-versa), causing segmentation faults when loading a file where this has taken place and been saved.