US consumer confidence weakens slightly in April