[U-Boot] [PATCH v3 2/2] cmd: sata: add null pointer check for dev