taskprocessor.c: Fix some taskprocessor unrefs.