Move getreent to libgloss
Move stack size to correct place
Move BSS initialization to beginning
Fix libc reentrancy
Fix wrong handling of uart base flag
Make heap an integer for easier calculations
Namespace cleanup

All functions exposed to the application start with or1k_, while all
internal functions are prefixed with _or1k_. Better label naming.
Boards should only issue exit nop once