gpgconf: Fix validity check for UINT32 values.