Set correct types: dict:dict() and gb_tree:gb_tree() for 17.0

Set correct types: dict:dict() and gb_tree:gb_tree() for build on erlang >17.0