Brazil survives own goal to win opening game