libblkid: move string trim function to strutils.h

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: vary basic dump parsing functions

Signed-off-by: Karel Zak <kzak@redhat.com>