Add brackets in casting macros, as Sergei Lebedev asks.