Builds different [addr] formats for the NEC or Samsung32 protocol.
- NEC: 8 address bits + 8 inverted address bits
- Samsung32: 8 address bits + 8 address bits
This is based on the logic found in the FlipperZero IR Samsung Encoder:
https://github.com/flipperdevices/flipperzero-firmware/blob/052237f8c9bb34bc244abcbf108cdf1ec6ec58ec/lib/infrared/encoder_decoder/samsung/infrared_encoder_samsung.c#L27-L31