Remove extraneous newlines in pre-receive hook
Found while investigating slow performance in gitlab-org/gitlab-ce#17225
We were adding a newline for every branch push because:
- GitlabAccess calls changes.lines, which keeps the newline (e.g. ['00000000 12345678 refs/heads/master\n'])
- GitlabNet calls changes.join("\n"), which adds another newline