Add BuildArgs to store common build arguments . ### Description

This renames `ReplayArgs` in pywasmcross to `BuildArgs` and uses it in buildall and buildpkg. No functional changes are involved except for some modifications in function parameters and how logs are copied after the build.

This PR makes it easier to call methods in buildall and buildpkg from the new CLI.

### Checklists

- [x] Add / update tests

import sys
from pathlib import Path

sys.path.append(str(Path(__file__).parents[2] / "tools"))

from pytest_wrapper import remove_num_threads_option


def test_find_imports():
    args = ["-v", "-n", "3"]
    remove_num_threads_option(args)
    assert args == ["-v"]

    args = ["-v", "-n", "3", "-k", "firefox"]
    remove_num_threads_option(args)
    assert args == ["-v", "-k", "firefox"]

import sys
from pathlib import Path

sys.path.append(str(Path(__file__).parents[2] / "tools"))

from pytest_wrapper import remove_num_threads_option


def test_find_imports():
    args = ["-v", "-n", "3"]
    remove_num_threads_option(args)
    assert args == ["-v"]

    args = ["-v", "-n", "3", "-k", "firefox"]
    remove_num_threads_option(args)
    assert args == ["-v", "-k", "firefox"]
