Adds support for setting GPREGRET register when rebooting. Signed-off-by: Jamie McCrae <jamie.mccrae@lairdtech.com>