Increase MAX_WORKER_THREADS to 64k

Increase max number of civetweb threads to 64k, the old value caused civetweb not to work if the number set in "rgw thread pool size" is more than 1024.
This has changed upstream too.
Fixes bug http://tracker.ceph.com/issues/10243