That's a frustrating parallel you draw. I wouldn't tell a depressed person to cheer up. I've been depressed.
And I wouldn't tell an addict to just stop. I have friends who are addicts.
But I know that at the end of the day, if you want to fix either of these issues, you are the only person who can do something about it. It's difficult, but possible. Nobody else can stop drinking for you, or fix your depression for you. Sure you can try rehab and antidepressants, but at the end of the day you have to do it.
Same with procrastination. Except there's no pill for it, you just have to do it. I wouldn't say it in such a crude way to a friend, but the fact is, the friend is the only one who can fix his problem.