Add logfile size checker to discard build

Discard build which has logfile size smaller or larger than specified value

Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>