Corrected a bug in jdksmidi_msg.cpp

Corrected a bug in the method IsSameKind()