Revert "Remove redundant $CAN_HAZ_XS check"

As @haarg pointed out, this isn't redundant because they are variables,
not constants.

This reverts commit 17e761a5fb4af3cdf71f15f9b3e9717b9918a007.