hashtbl.c: Unify common hash ops by macros
hashtbl.c: Unify common hash ops by macros

Instead of opencoded repeatable computation
use macro helpers.

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

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