libblkid: Add an api to test for bad checksums

This can only return true if BLKID_SUBLKS_BADCSUM was used.

Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>