An appeal judge has given former SNP MP Natalie McGarry permission to appeal her conviction for embezzlement.