Commonly prescribed drug is linked to hallucinations, memory loss and increased dementia risk in older patients.