core.c: In core_orphan_adoption, change local variable name from head to entry

for better code clarity

Signed-off-by: Hal Rosenstock <hal@mellanox.com>