Fix bitmap_scnprintf giving truncated output when nmaskbits > 32.