Ionic-liquid gating of perpendicularly magnetised CoFeB/MgO thin films