Generalize the ARM pattern match in configure.

The previous one would only work if the 'vendor'
part of the target triple equals "unknown" which
is a bit of an arbitrary limitation.