GM beats profit expectations in first quarter, increases guidance for 2024