Update /upload/system/library/captcha.php

Newlines at the beginning of images being generated causes the images to not render (broken image shown instead).

This fixes the possible newline at the beginning of the code ensuring the image generates correctly.