Introduce an inline function which consumes a packet known to be
destined for a particular interface. Generally, avoid introducing
macros with side effects.
Add a bridge_learn() helper instead of having the same code duplicated
into the local and forwarding cases.
Simplify some conditionals in bridge_forward().
No functional change intended.