libgralloc : Correct the usage of pmem ioctl
Return error only if the ioctl PMEM_ALLOCATE_ALIGNED
returns negative value.