MFC r362781 and r362794: Implement is_signed(), type_max() and type_min() function macros in the LinuxKPI.
Sponsored by: Mellanox Technologies