configure: Check for buggy -Wcast-align.