5-loop Konishi from linearized TBA and the XXX magnet