Pakistan ex-PM Imran Khan fears arrest as he heads to court