msm: camera: Add retry logic if stream ops fails.

During monkey/stability runs the open/close sequence is going out of
sync. This patch ensures that the sequence is maintained and also add
retry mechanism in case stream ops fails.

Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
(cherry picked from commit 2ddecacee48508b4a89d568c01c9e5ddbdd29999)

Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>
(cherry picked from commit 3351b3811abdd9e2158223bda15aac2d01091cd6)

Change-Id: I0f214b4e38ad53dffde5b211b3f54ed7f6e0d914
Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>