Charlie Austin netted a late winner as QPR guaranteed a play-off spot after a 2-1 victory over Watford at Loftus Road.