Corrected pcm_sync_ptr() on dma mmap coherent architecture

It is valid to get null sync_ptr on dma mmap coherent architecture.
In this case pcm_sync_ptr() is a nop.

Signed-off-by: Miguel Gaio <mgaio35@gmail.com>
diff --git a/src/pcm.c b/src/pcm.c
index f665cb4..7ea58bd 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -511,7 +511,7 @@
         }
         return 0;
     }
-    return -1;
+    return 0;
 }
 
 static int pcm_hw_mmap_status(struct pcm *pcm)