This commit updates some of the API references in task.h so that stack sizes are referred to in bytes rather than words as found in the vanilla version. Closes #2528