PR54613: protect the invoke_mtx with #if APR_HAS_THREADS. No MMN bump, httpd.h cannot be compiled today without APR_HAS_THREADS. With APR_HAS_THREADS there is no structure layout change.