Core: Fix warnings, mostly wrong printf formatters