Robust H-Infinity Stabilization and Resilient Filtering for Discrete-Time Constrained Singular Piecewise-Affine Systems