Oil prices set to end turbulent 2022 with second straight annual gain