Stripping stack trace line numbers from assertion for platform independence.