Patch aamath for clang

Fixes duplicate parameter names, and turns a non-POD variable array on the heap to a malloc.

Not sure we actually want to carry these, but the alternative is to mark as failing with clang or redact.