fix test for RTE_SDK variable in csh profile
In csh, undefined variables do not expand to the empty string. Use the
$? csh substitution to check if the variable is defined.
Fixes: 4821395c6a5f ("- Avoid variable expansion in the spec here-documents during build")