[SERVER-8602] Update the handling of an already locked cursor.

Updates the response to an already locked cursor on the server to not respond with a zero cursor id so that the client does not think the cursor is exhausted.