Refactor redzone size calculation. This will simplify changing the
redzone size calculation in future. I had done this change for another patch,
but ended up throwing away the patch. The cleanup work may still be useful.
Note that AddressSanitizer.cpp violates the latest LLVM style guide in
various ways due to capitalized function names. Only code related to the
change here was changed to adhere to the style guide.
No functional change intended.