Fix XM note limits

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[test] Add OpenMPT NoteLimit XM test case

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>