Hydrodynamic limit for an anharmonic chain under boundary tension