JSON-RPC: fix resetting a datetime property through VideoLibrary.SetFooDetails

Same as #4405.