e-proxy: Eliminate more use of undefined C behaviour

The previous fix for this issue (commit 486db77e) did not eliminate
the undefined behaviour in the case where width == 32.

Fix that by explicitly handling it separately.

Coverity issue: #1214484

https://bugzilla.gnome.org/show_bug.cgi?id=730379