Use references in GATT client/server API (3/3)

This allows to get rid of some unnecessary null checks, and guarantee
proper values are passed.

Test: compilation test
Change-Id: I1d6ab95ef52067fa1461c432b9c162da0a25c6ac
1 file changed