Ex-Algeria PM appears before court on graft charges