Weakly nonlinear dust ion-acoustic shock waves in a dusty plasma with nonthermal electrons