check_native: Get rid of alloca