Minor fixes found using the verilator linter. Removed trailing whitespace.