Remove trailing whitespaces in cpp files