gateway: use standard macro to loop over the gateway tree in olsr_cleanup_gateways