aarch64: various fixes

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>