correctly set mapbase while registering the UART (#4622)