openmpt: update to newer API + fixed string memory leaks

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>