replacing strtoul with hextodec

this reduces the program size, if strtoul is not used in other parts in the project.
(in my case is this 700k, which is significant)