Expose cil_write_ast as libsepol API.
am: 1c6dc1a458

Change-Id: I8c35e45448cfba403fd8d4a53678d49135fcf9c9