Critical jamming of frictional grains in the generalized isostaticity picture