Performance|libcore: Avoid unnecessary mutex locking

theLogs() does not need locking after Logs exists.
Performance|Oculus Rift: Detecting connected HMDs

Use the correct LibOVR API function for detecting connected HMDs
rather than trying to blindly create an ovrHmd. At least on the Mac
there was a 2 second delay each time this was called.