Eight dead in Afghan prison riot