Onset of the convective instability induced by an inclined heat flux in a plane porous layer