element: Annotate set_bus() bus parameter as allow-none