oc_cloud:fix cloud_deregistered_internal()

Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
4 jobs for master in 6 minutes and 33 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #2199
Android_build

00:06:31

passed #2197
Linux_Secured_Test

00:03:40

passed #2198
Linux_Unsecured_Test

00:03:17

passed #2200
whitespace_and_doxygen

00:01:16