Move some sniffer arrays to read-only data segment
Due to a quirk in VC++ it is easy to accidentally prevent a const global
array from being placed in the read-only data segment. This change
removes some should-be-harmless 'const' keywords to work around this
quirk and move ~2,500 bytes to the .rdata (read-only) data segment
across chrome.dll and chrome_child.dll. The arrays affected include
kMagicNumbers, kExtraMagicNumbers, kSniffableTags, kOfficeExtensionTypes,
and a few others.
VC++ bug is filed here:
Other instances of this quirk are also being worked around.