Make chat example more error tolerant

It becomes more obvious on platforms which do not support Bluetooth
that the example will not work.

Change-Id: Ia6d249a4a891f93abf29910500ba164662308889
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>