Brazilian surfer wins world championship in Pichilemu, Chile