Make sure line number of source code begins with 1

by removing the \n at end of the xmp tag.

Reported-by: Peter Li <lip@osehra.org>
Change-Id: I50a951e14d5975d52d8e6d8d3db54f61a786349b