rpn: Add dup and swap operations