Cirrhosis is a risk factor for total hip arthroplasty for avascular necrosis