Nuclear and dark matter heating in massive white dwarf stars