Add `XRT_CHECK_RESULT` define to be used for ensure that the result from functions are read and acted upon.