Test failures on aarch64
### Description

Test failures on openSUSE Tumbleweed aarch64:
```
[ 1419s] [31mFAIL: [36mtests/compiler/tasm.nim c                                   [34m ( 1.13 sec)[0m
[ 1419s] [1m[36mTest "tests/compiler/tasm.nim" in category "compiler"[0m
[ 1419s] [1m[31mFailure: reNimcCrash[0m
[ 1419s] $ /home/abuild/rpmbuild/BUILD/nim-2.0.6/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2   --nimCache:nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33  tests/compiler/tasm.nim
[ 1419s] Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.6/config/nim.cfg' [Conf]
[ 1419s] Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.6/config/config.nims' [Conf]
[ 1419s] Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.6/tests/config.nims' [Conf]
[ 1419s] Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.6/tests/compiler/nim.cfg' [Conf]
[ 1419s] CC: ../../lib/system/exceptions.nim
[ 1419s] CC: ../../lib/std/private/since.nim
[ 1419s] CC: ../../lib/system/ctypes.nim
[ 1419s] CC: ../../lib/std/sysatomics.nim
[ 1419s] CC: ../../lib/system/ansi_c.nim
[ 1419s] CC: ../../lib/system/memory.nim
[ 1419s] CC: ../../lib/std/private/syslocks.nim
[ 1419s] CC: ../../lib/std/private/threadtypes.nim
[ 1419s] CC: ../../lib/std/private/digitsutils.nim
[ 1419s] CC: ../../lib/std/private/miscdollars.nim
[ 1419s] CC: ../../lib/std/assertions.nim
[ 1419s] CC: ../../lib/system/iterators.nim
[ 1419s] CC: ../../lib/system/coro_detection.nim
[ 1419s] CC: ../../lib/std/private/dragonbox.nim
[ 1419s] CC: ../../lib/std/private/schubfach.nim
[ 1419s] CC: ../../lib/std/formatfloat.nim
[ 1419s] CC: ../../lib/std/objectdollar.nim
[ 1419s] CC: ../../lib/system/dollars.nim
[ 1419s] CC: ../../lib/std/typedthreads.nim
[ 1419s] CC: ../../lib/system/stacktraces.nim
[ 1419s] CC: ../../lib/std/private/bitops_utils.nim
[ 1419s] CC: ../../lib/system/countbits_impl.nim
[ 1419s] CC: ../../lib/system/repr_v2.nim
[ 1419s] CC: ../../lib/std/widestrs.nim
[ 1419s] CC: ../../lib/std/syncio.nim
[ 1419s] CC: ../../lib/system.nim
[ 1419s] CC: tasm.nim
[ 1419s] /tmp/cclh6zGD.s: Assembler messages:
[ 1419s] /tmp/cclh6zGD.s:178: Error: expected a register or register list at operand 1 -- `add $1,x0'
[ 1419s] Error: execution of an external compiler program 'gcc -c  -w -fmax-errors=3 -pthread -std=c99   -I/home/abuild/rpmbuild/BUILD/nim-2.0.6/lib -I/home/abuild/rpmbuild/BUILD/nim-2.0.6/tests/compiler -o /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33/@mtasm.nim.c.o /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33/@mtasm.nim.c' failed with exit code: 1
```

```
[ 1434s] [31mFAIL: [36mtests/objects/tobjcov.nim c                                 [34m ( 1.45 sec)[0m
[ 1434s] [1m[36mTest "tests/objects/tobjcov.nim" in category "objects"[0m
[ 1434s] [1m[31mFailure: reNimcCrash[0m
[ 1434s] $ /home/abuild/rpmbuild/BUILD/nim-2.0.6/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2   --nimCache:nimcache/tests/objects/tobjcov.nim_4a8a08f09d37b73795649038408b5f33  tests/objects/tobjcov.nim
[ 1434s] Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.6/config/nim.cfg' [Conf]
[ 1434s] Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.6/config/config.nims' [Conf]
[ 1434s] Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.6/tests/config.nims' [Conf]
[ 1434s] tobjcov.nim(17, 6) Hint: 'ap' is declared but not used [XDeclaredButNotUsed]
[ 1434s] CC: ../../lib/system/exceptions.nim
[ 1434s] CC: ../../lib/std/private/since.nim
[ 1434s] CC: ../../lib/system/ctypes.nim
[ 1434s] CC: ../../lib/std/sysatomics.nim
[ 1434s] CC: ../../lib/system/ansi_c.nim
[ 1434s] CC: ../../lib/system/memory.nim
[ 1434s] CC: ../../lib/std/private/syslocks.nim
[ 1434s] CC: ../../lib/std/private/threadtypes.nim
[ 1434s] CC: ../../lib/std/private/digitsutils.nim
[ 1434s] CC: ../../lib/std/private/miscdollars.nim
[ 1434s] CC: ../../lib/std/assertions.nim
[ 1434s] CC: ../../lib/system/iterators.nim
[ 1434s] CC: ../../lib/system/coro_detection.nim
[ 1434s] CC: ../../lib/std/private/dragonbox.nim
[ 1434s] CC: ../../lib/std/private/schubfach.nim
[ 1434s] CC: ../../lib/std/formatfloat.nim
[ 1434s] CC: ../../lib/std/objectdollar.nim
[ 1434s] CC: ../../lib/system/dollars.nim
[ 1434s] CC: ../../lib/std/typedthreads.nim
[ 1434s] CC: ../../lib/system/stacktraces.nim
[ 1434s] CC: ../../lib/std/private/bitops_utils.nim
[ 1434s] CC: ../../lib/system/countbits_impl.nim
[ 1434s] CC: ../../lib/system/repr_v2.nim
[ 1434s] CC: ../../lib/std/widestrs.nim
[ 1434s] CC: ../../lib/std/syncio.nim
[ 1434s] CC: ../../lib/system.nim
[ 1434s] CC: tobjcov.nim
[ 1434s] /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/objects/tobjcov.nim_4a8a08f09d37b73795649038408b5f33/@mtobjcov.nim.c: In function â€˜NimMainModuleâ€™:
[ 1434s] /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/objects/tobjcov.nim_4a8a08f09d37b73795649038408b5f33/@mtobjcov.nim.c:162:56: error: assignment to â€˜tyProc__TUiTBv9aW4IvMRnoP50YGDwâ€™ {aka â€˜void (*)(tyObject_TA__xNfsszU9cfPEqAtTvpVpYYA *)â€™} from incompatible pointer type â€˜void (*)(tyObject_TB__U9bTppYOtItGELjlBe2q0Jg *)â€™ [-Wincompatible-pointer-types]
[ 1434s]   162 |         nimlf_(22, "tobjcov.nim");      f__tobjcov_u34 = bp__tobjcov_u7;
[ 1434s]       |                                                        ^
[ 1434s] Error: execution of an external compiler program 'gcc -c  -w -fmax-errors=3 -pthread   -I/home/abuild/rpmbuild/BUILD/nim-2.0.6/lib -I/home/abuild/rpmbuild/BUILD/nim-2.0.6/tests/objects -o /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/objects/tobjcov.nim_4a8a08f09d37b73795649038408b5f33/@mtobjcov.nim.c.o /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/objects/tobjcov.nim_4a8a08f09d37b73795649038408b5f33/@mtobjcov.nim.c' failed with exit code: 1
```

```
[ 2205s] /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/megatest_4a8a08f09d37b73795649038408b5f33/@mobjects@stoop1.nim.c: In function â€˜init__objectsZtoop49_u95â€™:
[ 2205s] /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/megatest_4a8a08f09d37b73795649038408b5f33/@mobjects@stoop1.nim.c:200:43: error: assignment to â€˜tyProc__TWQxHSB84qMQfAN2Ap9bVhwâ€™ {aka â€˜void (*)(tyObject_TFigure__svHNF2RWaxzzfAQX9cM9bosQ *)â€™} from incompatible pointer type â€˜void (*)(tyObject_TRectangle__31BGECx1CNi6rP3YseNjcg *)â€™ [-Wincompatible-pointer-types]
[ 2205s]   200 |         nimln_(35);     (*my_p0).Sup.draw = drawRectangle__objectsZtoop49_u93;
[ 2205s]       |                                           ^
[ 2205s] /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/megatest_4a8a08f09d37b73795649038408b5f33/@mobjects@stoop1.nim.c: In function â€˜init__objectsZtoop49_u35â€™:
[ 2205s] /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/megatest_4a8a08f09d37b73795649038408b5f33/@mobjects@stoop1.nim.c:320:43: error: assignment to â€˜tyProc__TWQxHSB84qMQfAN2Ap9bVhwâ€™ {aka â€˜void (*)(tyObject_TFigure__svHNF2RWaxzzfAQX9cM9bosQ *)â€™} from incompatible pointer type â€˜void (*)(tyObject_TCircle__AYUL46F30iSn43qozLLgYw *)â€™ [-Wincompatible-pointer-types]
[ 2205s]   320 |         nimln_(23);     (*my_p0).Sup.draw = drawCircle__objectsZtoop49_u29;
[ 2205s]       |                                           ^
[ 2205s] Error: execution of an external compiler program 'gcc -c  -w -fmax-errors=3 -pthread   -I/home/abuild/rpmbuild/BUILD/nim-2.0.6/lib -I/home/abuild/rpmbuild/BUILD/nim-2.0.6/tests -o /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/megatest_4a8a08f09d37b73795649038408b5f33/@mobjects@stoop1.nim.c.o /home/abuild/rpmbuild/BUILD/nim-2.0.6/nimcache/tests/megatest_4a8a08f09d37b73795649038408b5f33/@mobjects@stoop1.nim.c' failed with exit code: 1
[ 2205s] 
[ 2205s] 
[ 2205s] 
[ 2205s] FAIL: megatest compilation failed
```

### Nim Version

2.0.6 on openSUSE Tumbleweed aarch64

### Current Output

_No response_

### Expected Output

_No response_

### Known Workarounds

_No response_

### Additional Information

_No response_