Reduce runtime stack size and add compilation macro for each BL stage