Ninja: Fix variable duplication in RSP rules

Stream clear() resets stream state but does not actually clear its content.
Merge topic 'fix-ninja-rsp-var-duplication' into next

71da30ca Ninja: Fix variable duplication in RSP rules