[SYSDATA][GRUB] add CRC-32 implementation
The default CRC-32C implementation uses polynomial 0x1edc6f41 and gives a different output than the user space and U-boot SYSDATA utilities which use the 0x04c11db7 polynomial.
Add function grub_getcrc32 which uses 0x04c11db7 and use it from sysdata.
This patch preserves grub_getcrc32c for backward compatibility.
Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com