Camera2: Release input surface on capture session close

Per the documentation, the input surface of a reprocessable capture
session should be abandoned on the close of a session.

Actually implement this, to avoid unintentional leaks of buffers.

Test: Camera CTS passes
Bug: 38313948
Change-Id: Ia45c39ea925288a5082d6e722ff4b40c55971a37
1 file changed