Learning the distribution of extreme precipitation from atmospheric general circulation model variables