Warning fixes

And a small crash fix.

But I still can't figure out what is causing this for Headless:

Core.lib(bprint.o) : warning LNK4049: locally defined symbol _avpriv_vsnprintf imported

It's set up the same as PPSSPPWindows and Unittest, which both work fine...

-[Unknown]