A Census of White Dwarfs Within 40 Parsecs of the Sun