Have stm32-p103 machine connect to devices using QOM lookup

This avoids having to pass extra references around when making
function calls.