South Africa court dismisses Mbeki's appeal