Saido Berahino scored the only goal for West Bromwich Albion as Sam Allardyce's first game in charge of struggling Sunderland ended in defeat.