Fix String.prototype.camelize.

Fixes #4512.