aarch64: Cleanups and alignment with x86_64 macros

3 jobs for aarch64-rebase in 2 minutes and 11 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #31549
build:linux

00:01:19

passed #31550
build:redox

00:00:53

 
  Test
failed #31551
test:redox

00:00:51

 
Name Stage Failure
failed
test:redox Test
error: could not compile `redox_syscall`.

Caused by:
process didn't exit successfully: `rustc --crate-name syscall --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=dc5064f0f9d5b7b1 -C extra-filename=-dc5064f0f9d5b7b1 --out-dir /builds/redox-os/syscall/target/x86_64-unknown-redox/debug/deps --target x86_64-unknown-redox -C linker=x86_64-unknown-redox-gcc -C incremental=/builds/redox-os/syscall/target/x86_64-unknown-redox/debug/incremental -L dependency=/builds/redox-os/syscall/target/x86_64-unknown-redox/debug/deps -L dependency=/builds/redox-os/syscall/target/debug/deps --extern bitflags=/builds/redox-os/syscall/target/x86_64-unknown-redox/debug/deps/libbitflags-a7214a232fa510e7.rlib -L /root/.redoxer/toolchain/x86_64-unknown-redox/lib` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
redoxer cargo: exit code: 101
Cleaning up file based variables
ERROR: Job failed: exit code 1