remove trailing whitespace.

For: RT #122942 (first patch)