[uart] Fix weak handler