[x86] move recursive add match for LEA to helper function; NFCI