[SelectionDAG][NFC] Use SDValue in signatures (#242273)
Instead of passing a const SDNode *ptr to the functions in the ISD
namespace in SelectionDAGNodes.h, pass a SDValue.
The reason for this change is that in the vast majority of uses, the
callers work with a SDValue beforehand and retrieve their Node through
the .getNode() member function.
This change should remove indirection.