RwgTex 1.6

- fixed -mem argument to work again (showing memory usage stats and
detected leaks)
- fixed memory leaks on codec/tool/format/container registering
- fixed memory leak on FreeImage texture loading