Changing checks for empty values to PHP 5.4 compatible

PHP before 5.5 won't accept a function call as argument for empty(). Aside
from that, in all these cases using empty() was obsolete, as fatfree will
just return null when a variable doesn't exist in the hive, which will
always be interpreted as false.