Valentino Rossi took advantage of some uncharacteristic errors by Marc Marquez to grab pole position for Sunday's Japanese Grand Prix