Type 2 diabetes drug may help lower dementia risk by 22%