Newcastle United's Bruno Guimaraes poked home the only goal in a 1-0 win at West Ham United that lifted his side into sixth place in the Premier League.