When print Number of Firmware Slots and Firmware Slot1 Readonly,
The condition is fw_num_slots != 0 instead of fw != 0 (the controller supports the Firmware Commit and Firmware
Image Download commands.)
ref: D32659
Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com>