To "pine away" means to lose vigor or health because of grief. A lumberjack is someone who cuts trees down professionally. The word "pine" can be used to describe a type of coniferous tree. The joke is playing on the word "pine" and its different meanings. 
Old lumberjacks never die , they just pine away .