fix #25797: enharmonic spelling of Shift+note

Borrowed the line to set tpc from putNote() which seems to get it right