intel/compiler: Cast to target type before shifting left