tests: fix compiler warning

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid: make swap detection arch independent

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid: ubifs is LE

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