torrus: Conditionalize declaration of rewrite

Have the rewrite module only included in torrus if it is not already
defined. Ugly workaround, the problem should be solved better but will
do for now

Change-Id: I6869e94453501c8e7bb46b2dd871d60ff622dd63