Fix profanity_0.4.4-1 build on big endian architectures

According to this bug profanity fails to build on big endian archs. 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766171

Patch thanks to Jurica Stanojkovic.

From Debian with love.