Detect and skip padding nops at the end of functions