gpixmap: Change "return" into assignment in line()

Apparently a copy/paste mistake. Luckily no on has been attempting to
use line on a 16-bit surface so far.