lib: crc32: miscellaneous cleanups