Pharmacy bolsters Fred’s third-quarter results