They did not possess pasturization during the times of the Talmud. They did, however, have milk and would have made a bracha on it.
While one might question whether a "modern" individual might consider raw milk food (since it isn't drunk by the average individual) it unquestionably counts as such from a halchic perspective, since the reason for pasteurization is NOT to make the food edible, but to make it safer to consume.
Thus, one may make a shehakol on raw milk.
Chazal discuss the proper blessing for olive oil (which should be ha'etz), since one doesn't drink it by itself, but mixed with other liquids and spices. Of concern here is consuming something that is seen directly harmful (pure olive oil), while your question talks about drinking something that carries an external risk for harm (raw milk might be contaminated).