nasm.c: Convert GET_CURR_OFFS/SET_CURR_OFFS to functions
nasm.c: Convert GET_CURR_OFFS/SET_CURR_OFFS to functions

In future better to not work with global variables but
rather pass arguments.

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@gmail.com>

Distrotech/nasm,projedi/nasm,turingstudio/nasm,turingstudio/nasm,projedi/nasm,turingstudio/nasm,projedi/nasm,projedi/nasm,techkey/nasm,techkey/nasm,Distrotech/nasm,techkey/nasm,Distrotech/nasm,Distrotech/nasm,projedi/nasm,turingstudio/nasm,techkey/nasm,techkey/nasm