ptxd_lib_dgen: strip white spaces from this_pkg

This is necessary to e.g. handle files with dos line breaks.
Otherwise this_pkg is '<pkg>\r' which causes all kinds of problems.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>