Scattering of a plane harmonic SH wave by a rough multilayered inclusion of arbitrary shape