CosmoCore Affective Dream-Replay Reinforcement Learning for Code Generation