pack.h: Fix clang 5.0 build error

pack_uint: Add template specialization for bool type