compiler: remove trailing whitespaces