[bindings] Replace deprecated allow-none with optional and nullable
3 files changed