Onset of Darcy--Bénard convection under throughflow of a shear-thinning fluid