fix bug for sas device info print is 0, because the O2 compilation optimization is enabled. we use the volatile modifier added for pointer. Signed-off-by: veega2022 <zhuweijia@huawei.com>