Prison guard who smuggled drugs into jail appeals against sentence