West Ham striker Marko Arnautovic says he is prepared to keep playing through the pain barrier of his knee injury for club and country.