lpm/x86: move SSE implementation to be architecture agnostic