President Donald Trump says he and Nigerian President Muhammadu Buhari did not discuss his reported use of a vulgarity in describing African countries.