_gentoo_packages: more stylistic consistency

Generally we keep lvalues and rvalues in consistent positions in
conditional checks even though they can be swapped around there.
remove unnecessary whitespace