examples/l3fwd: reorganise and optimize LPM code path