Define an operator<< for APInt to be used with std::ostream.