Fix null conversion warning

Avoid this compilation warning:

    warning: implicit conversion of NULL constant to 'MIDIEntityRef' (aka 'unsigned int') [-Wnull-conversion]