Self-consistent calculation of the fission barrier of 240Pu