luci-base: cbi.js: properly round down numbers for %u and %d patterns