Allow setting of imagesdir from asciidoc_attributes

I wanted to be able to set `imagesdir=` myself, the current code will overwrite the user provided setting no matter what. This PR adds a check to only set the default path if one has not been provided via `asciidoc_attributes`.