libsyntax: Remove a use of deprecated Encodable from libsyntax. rs=burningtree