ARM64: don't generate __sincos_stret calls unless on MachO

This should fix PR19314.