Port emacsclient euidaccess to Solaris 10

Without this fix, linking emacsclient fails with ‘Undefined
symbol eaccess’ on Solaris 10 sparc.
* lib-src/Makefile.in (LIB_EACCESS): New macro.
(emacsclient${EXEEXT}, emacsclientw${EXEEXT}): Use it.
1 job for master in 51 minutes and 49 seconds (queued for 2 seconds)
Status Job ID Name Coverage
failed #1534


Name Stage Failure
test-all Test
Makefile:315: recipe for target 'check-doit' failed
make[2]: *** [check-doit] Error 1
make[2]: Leaving directory '/builds/emacs/emacs/test'
Makefile:290: recipe for target 'check-expensive' failed
make[1]: Leaving directory '/builds/emacs/emacs/test'
Makefile:962: recipe for target 'check-expensive' failed
make[1]: *** [check-expensive] Error 2
make: *** [check-expensive] Error 2
ERROR: Job failed: exit code 1