Masses of white dwarf progenitors from open cluster studies