firmware-utils: check_magic() in buffalo-lib.c always return 0