[PATCH OLK-5.10] software node: Fix software_node_get_reference_args() with index -1