Modified addnuw inst implementatin patch by code refactoring

To avoid rewriting the same piece of code twice in AddNUW and
AddNW instruction implementation, define function to implement
addnuw instruction.