Fix for inflector's incorrect camelCase replacement for acronyms

Fixes #8015, #9756.

[Fred Wu & Matthew Draper]