Defending champion Barry Hawkins edged into the second round of the World Snooker Shootout with a 45-42 victory over Steve Davis.