Remove undefined behavior from test23.

The code tried to load 4 bytes from an 1-3 byte allocation.
LLVM's optimizer actually detects this, marking the entire
result undefined.
Merge pull request #1966 from klickverbot/test23-fix

Remove undefined behavior from test23.