Comedian Chris Rock acquits himself well in this comedy about drugs, desperation and friendship among low-lifes, writes Brendan Lemon