[PATCH v2] prime_mmap_coherency: Add return error tests for prime sync ioctl