Fix different behaviour of filter_var() with NULL on PHP 5.3.

Seriously, they could not possibly screw bool validation up any more
than they already had with filter_var().