Apply -fallow-argument-mismatch option when gcc version is larger than 10.0.0
riscv64, armv7l, i586, x86_64 with gcc 13.1.0 in Riscv repository and
aarch64, armv7l, i586, x86_64 with gcc 9.2.0 in Unified repository should be built without build error.
With a previous commit, armv7l, i586, x86_64 in Riscv repo. got build
failed. So, remove %ifarch ~ %endif from a spec file.
Instead, add a patch checking gcc version and then applying the option if the version
is larger than 10.0.0.
Change-Id: Ie9d1dc7421eb91d116077b7abe6520d05af62836
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>