stlink: add hardware srst functions to stlink/v2