Generate a "rebooting" event before the system reboots

Bug: 908354
Change-Id: I9b1be3b97713b2d9e7816bc7e131230dc19548b6