On some stability properties of the discretization of damped propagation of shallow-water inertia–gravity waves on the Arakawa B-grid