xbps-rindex: clear file permission bits before creating our named semaphore.

Due to the file permission bits (umask(3)) the semaphore wasn't created
with correct permissions.