gen_{constants,syscalls}: fix sed/grep locale issues

The A-Z/a-z classes are not guaranteed to match the 26 english characters
in all locales -- they might match more or fewer characters.  Use classes
instead so we know they'll always match.

Change-Id: Id8046a4f663c7bdb8fa46911d953716d6ba4bdb6
2 files changed