r600g/sb: get rid of standard c++ streams