stm32f405_timer: Update based on the mainline attempt

Signed-off-by: Alistair Francis <alistair23@gmail.com>