I don't think the issue is that non-standard transactions will cause them to get orphaned if there's a bug, it's that theoretically the script could cause DoS.

Orphaned blocks by a rouge miner aren't the problem; it's systematic crashing of the network(especially in the Bitcoin Core monoculture we currently have).