cmn_get_timeout_data function is used at two places:

1. net module.
2. uart module.

This function contains references to Lua specific
structures. Hence, it cannot be directly used with
PicoC (or any other language for Alcor). So, for
now, protect the function with conditional compila-
tion.

Get back to this (maybe) for PicoC's net and uart
module.