esp8266: Minor updates of newlib stubs

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>