[test] Add MED4 med synth test

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Fix XM invalid instrment event loading

Instrument events higher than 127 were flagged as "end of module
(undocumented)". I don't know where this comes from, but it breaks
NEW.XM as reported by Benjamin Shadwick:

  I've attached another song named NEW.XM. I noticed right away that it
  appears to be missing some notes compared to output from VLC or my
  memory of XMPlay.

NEW.XM has:

00 C-4 .5 .. ... | ... .. .. ...
01 ... .. .. ... | ... .. .. ...
02 ... .. .. ... | ... .. .. ...
03 ... .. .. ... | ... 80 .. ...
04 ... .. .. ... | G-4 .5 .. ...
05 ... .. .. ... | ... 80 .. ...

Not sure if this 80 has any meaning, so ignoring it for now.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Don't version library symbols in android

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Fix memory leak in Amusic loader

Tracks are loaded sparsely, so don't set the number of tracks to the
number of tracks actually loaded from disk.

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