Disable deprecated type warnings.

OTP/Erlang 17 emits these kind of warnings which causes compilation to
fail:

Warning: type dict/0 is deprecated and will be removed in OTP 18.0; use use dict:dict/0 or preferably dict:dict/1

And it's not possible to simply start using new types because it
breaks compilation on older versions.

Change-Id: I19b9bb1a74f72615367ca0c53261434888f3ca37
Reviewed-on: http://review.couchbase.org/35585
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>