Debutant Rade Prica scored for Sunderland to seal a crucial victory over Birmingham after Daryl Murphy opened the scoring.