Nonsingular Terminal Sliding Mode Control Based on Adaptive Barrier Function for nth-Order Perturbed Nonlinear Systems