Dylan Smith (35) pleaded guilty to two counts of threats to kill or cause serious harm against two prison officers