Handle phantom-bool return value correctly on big-endian
Handle phantom-bool return value correctly on big-endian

Previous fix for big-endian architectures was still missing handling
of phantom-bool return value.  Fix this handling now.

psychon/lgi,pavouk/lgi,zevv/lgi