Ailing Anthony Davis tips Hornets to 87-86 win over Celtics