[PATCH openEuler-1.0-LTS 104/316] mlxsw: core: Fix memory leak on module removal