Wavenumber restriction in systems with discontinuous nonlinearities and the buckling instability of plates