osl_get_attribute() should use device strings when compiling for OptiX. (#1435)
osl_get_attribute() should use device strings when compiling for OptiX. (#1435)

Signed-off-by: Clifford Stein <8356cfc0043ed3e9a6393eee625235ba0944365c@imageworks.com>
brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,lgritz/OpenShadingLanguage,imageworks/OpenShadingLanguage,lgritz/OpenShadingLanguage,lgritz/OpenShadingLanguage,aconty/OpenShadingLanguage,aconty/OpenShadingLanguage,aconty/OpenShadingLanguage,imageworks/OpenShadingLanguage,aconty/OpenShadingLanguage,aconty/OpenShadingLanguage,brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,imageworks/OpenShadingLanguage,imageworks/OpenShadingLanguage,imageworks/OpenShadingLanguage