[sr-dev] git:sr_3.0: core: fix define of rval_get_int_handle_ret