[nfc][libomptarget] Warp size aware logging by using builtinvar abstraction consistently. Last part of D69423
Uses functions from support.h to derive values used in logging from WARPSIZE.
Also updates the rest of the deviceRTL to use this existing abstraction everywhere.
LLVM transforms the mod with constant to mask with constant - 1 at O1.