Add UBInt24 implementation.

A few TLS structs require this.
This doesn't fit the typical Python function naming convention so I dumped a # noqa here to shut pep8 up. This looks like the recommended way of defining a new construct type from the docs: http://construct.readthedocs.org/en/latest/adapters.html