Reset app_bits_upload_grace_period_in_seconds to 0 when it's negative

* Hopefully we will sanitize other invalid values in the config for the
  future
[#68014448]

Signed-off-by: Kai Zhang <kaizhang@cn.ibm.com>