REORG: include: move SWAP/MID_RANGE/MAX_RANGE from tools.h to standard.h

Tools.h doesn't make sense for these 3 macros alone anymore, let's move
them to standard.h which will ultimately become again tools.h once moved.
2 files changed