Fix lxc-attach to work with unprivileged containers

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>