libwinpr-utils: convert BitStream to macros