build-doc-javadoc: clear up legacy tmpdir