Effects of contact line movement on the dissipation of waves in partially saturated rocks