MotoGP legend Valentino Rossi made his World Endurance Championship (WEC) debut when getting behind the wheel of the BMW M4 GT3 in Qatar.