ref-filter: give uintmax_t to format with %PRIuMAX