ruby -w clean fixes for 3.47.0 → current master diff

This makes `Dataset::Actions` and `Dataset::Query` warning clean again.