Issue #17919: add missing import of USHRT_MAX