[Chapel Merge] Fix performance of list benchmark by making these

Branch: refs/heads/main
Revision: 23c534b
Author: lydia-duncan
Link: Unavailable
Log Message:

Merge pull request #19947 from lydia-duncan/restoreListPerf

Fix performance of list benchmark by making these helpers inlined
[developed by @ronawho, tested and reviewed by Lydia]

Accidentally thwarted some optimizations by not making the helpers inlined as
well.

Fix developed by Elliot

Resolves Cray/chapel-private#3419

Saw perf improvements for InsertFront, Append, and PopFront with
CHPL_TARGET_CPU=native. Passed a full paratest with futures

Modified Files:
M modules/standard/AutoMath.chpl

Compare: https://github.com/chapel-lang/chapel/compare/a7124b6619ac...23c534b5102a