Removed printf debugging
Normalized line endings
Added optional custom debug printf function

This is useful for integrating custom loggers in GME

add -DCUSTOM_DPRINTF_FUNCTION to the compiler flags, and set
the gme_custom_dprintf function pointer to the custom printf

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