msm: ocmem: Fix an issue with turning off the memory

Fix an incorrect check in the free() path that resulted in
memory macros not being turned off.

Change-Id: I2ea96e4297c0b47eac82f626f89faadbba6f0466
Signed-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>
1 file changed