Serbia mounted a second half comeback to secure a victory over a resilient Latvia side in their final World Cup Qualifying match.