Add new pref maxCodeHints

For #9529.
I confirmed this is a performance boost for Code Hints.
`Math.floor()` of an integer returns the input, no matter it's signed or not.
See also [MDN's Polyfill](https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger#Polyfill).