[SystemInfo] Only calculate DPI when resolution and physical is valid. Fix TCT failure (tct-systeminfo-tizen-tests case 173 and case 184) at the same time.