Hammers defender certain to leave