Multithreading cleanup up in GeomDet

Add const to the declaration of a function
return type. The returned pointer was not
being used to modify anything. Eliminates
a static analyzer warning.