update aarch64 patch to build a dup2 wrapper using dup3.