der: fix nonegative integers with 80 bit set

Nonegative integers can have highest bit (0x80) which
makes them interpreted as negative numbers.

When encoding such integers, prepend 00 byte before first byte
to force positive number detection.