kernel: refactor stack declaration macros These macros are identical except the specified linker region. So refactor them. Signed-off-by: Daniel Leung <daniel.leung@intel.com>