[PATCH RESEND] lib: fix bitmap_parse() on 64-bit big endian archs