check_cswch - make strtol_or_err() static

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
meminfo lib - get the MemAvailable from /prod/meminfo (kernel 3.14+)

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>