[issue29404, issue31398] Made LFUCache writer threads daemon (cherry picked from pre-scala-2.11)