Clean up SerializerFactory options handling

Multiple reasons to touch this code:
* Drop internal `...MAXIMUM...` constant. It's a bit field. All we care about is the first bit. Why check the other bits?
* Remove redundant `= 0` initialization.
* Remove redundant variable name from `@var` doc.
* Prefer `int`.