The Stability of Numerical Boundary Treatments for Compact High-Order Finite-Difference Schemes