On the primitive groups of class $3p$