[CB-2395] Fix CDVViewController UserAgent lock

It was not being release when the view is unloaded mid-page load.