Ex-Malawi president loses appeal over a corruption case