Remove trailing whitespaces

There are trailing whitespaces in the source code, which have now been removed. No functional changes.