Use lambda in tramp-compat-* functions

* lisp/net/tramp-compat.el (tramp-handle-temporary-file-directory):
Declare.
(tramp-compat-temporary-file-directory-function): Use function symbol.
(tramp-compat-file-attribute-type)
(tramp-compat-file-attribute-link-number)
(tramp-compat-file-attribute-user-id)
(tramp-compat-file-attribute-group-id)
(tramp-compat-file-attribute-modification-time)
(tramp-compat-file-attribute-size)
(tramp-compat-file-attribute-modes)
(tramp-compat-directory-name-p, tramp-compat-file-local-name)
(tramp-compat-file-name-quoted-p, tramp-compat-file-name-quote)
(tramp-compat-file-name-unquote, tramp-compat-exec-path)
(tramp-compat-time-equal-p, tramp-compat-flatten-tree):
Make them lambdas.
1 job for master in 6 minutes and 20 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #1679
test-all

00:06:20

 
Name Stage Failure
failed
test-all Test
make[2]: *** [bootstrap-emacs.pdmp] Error 255
Makefile:807: recipe for target 'bootstrap-emacs.pdmp' failed
make[2]: Leaving directory '/builds/emacs/emacs/src'
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2
Makefile:424: recipe for target 'src' failed
make[1]: Leaving directory '/builds/emacs/emacs'
Makefile:1115: recipe for target 'bootstrap' failed
ERROR: Job failed: exit code 1