core.c: Calculate 'join_time_passed' only for pure ACCESS nodes

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