BaseTools/DevicePath: fix GCC build error in print_mem(), and clean it up