Enhance tmp and var size checks

Gets rid of the following console "unexpected operator" messages during boot:
Mounting filesystems...
[: -gt: unexpected operator
[: -gt: unexpected operator
Setting up memory disks... done.