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