Fix memory leaks in module relase

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Test for memory allocation errors in XM loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Revert linear period handling

Linear period handling was good with the previous approach, so revert
commit a11a84f26208f7e1c60758faad2441b3798a5150.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Check rendered data digest in package test

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Cosmetic change in XM loader comments

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[test] Add reborning.mod to load_from_memory tests

from:	 Andreas Argirakis <andreas@blazer.nu>
to:	 xmp-devel@lists.sourceforge.net
date:	 Sat, Dec 28, 2013 at 11:14 PM
subject: [xmp] certain .mod crash on loading using xmp_load_module_from_memory

Using libxmp 4.2.0.

Using xmp_load_module_from_memory() loading (modland)Protracker/6-Mate/reborning.mod gives a crash. I tracked it down to void read_title(HIO_HANDLE *f, char *t, int s) in common.c.
Using xmp_load_module() works however fine with that module.

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