sh: use __builtin_constant_p() directly instead of IS_IMMEDIATE()