Prince Harry used a court appearance in London to put an end to divorce rumors