smartZ v1.3: fixed two bugs with hcitool scan & gatttool primary

- Fixed bug with hcitool scan in which data is received after the
inquiry times out.
- Fixed bug with gatttool primary that occurs when discovering primary
services on the BL600