Set the api dir from the source dir parameter.

This makes `build_sphinx --clean` remove the `api/` dir based on the source directory rather than the astropy one.