For asm-built objects, we have to guess where the function ends. Make this calculation also ignore nops.