Follow rustc changes: Fix item macro invocation

After a recent change in rustc it's neccessary to terminate item macro invocations with a semicolon or wrap it in braces.

This pull request makes serde and serde2 working again on rust nightly.