Document pointer-wide integer types

#9841. Added documentation for intptr_t, uintptr_t and BOOST_HAS_INTPTR_T. Also fixed formatting in a few places.