Some vaccine-preventable diseases are linked to accelerated brain atrophy and increased dementia risk years down the line.