Collision dominated, ballistic, and viscous regimes of terahertz plasmonic detection by graphene