shared/gatt-client: add NULL check to discover_secondary_cb() It is necessary to prevent dereferencing of a NULL pointer. Found with the SVACE static analysis tool.