Fix `@allocated 1 .+ 1` (#60494)
Dot operators (e.g., .+, .-) are lowered to `BroadcastFunction` and do
not have corresponding function definitions.
Fix the regression by adding the needed wrapper.
Test added.
---------
Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>