Use retroarch log functions instead of printf