Add the BITS_SET() macro.

This macro facilitates setting one or more contiguous bits in a
variable. Specifically this will be useful for defining the libleornian
memory file format, and for automating the processing and creation of
it.