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.
Merge pull request #481 from phil-davis/master

Enhance tmp and var size checks