We had manually implemented a few of the functions to add values to specific endian types. Make a macro to generate the function and generate them for all the endian types we use. Signed-off-by: Zach Brown <zab@versity.com>