stmhal, cc3k: Make wlan, socket and select modules static/const.