Discontinuous bifurcation analysis of thermodynamically consistent gradient poroplastic materials