Perceived discrimination and cognitive function in middle-aged and older adults living with HIV in China