Fixed a crash when cloning a function into a function with
different size argument list and without attributes in the
arguments.