The United Nations has called on Saudi Arabia to repeal laws that allow stoning, amputation, flogging and execution of children.