pcre: fix var capture for non relative matches

Var capture setup depended on the match being relative due to a logic
error.