OGLE-2017-BLG-1186: first application of asteroseismology and Gaussian processes to microlensing