Some minor cppcheck-found fixes

Why is OA reimplementing printf anyway?