Fix tramp-compat-file-name-quoted-p

* lisp/net/tramp-compat.el (tramp-compat-file-local-name)
(tramp-compat-file-name-quoted-p): Declare them.
(top): Do not use `eval-and-compile'.
(tramp-compat-file-name-quoted-p): Check also func-arity of
`file-name-quoted-p'.
1 job for master in 53 minutes and 7 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #1613
test-all

00:53:07