theme: flip text position when in RTL

Patch is adapted from https://bugzilla.gnome.org/show_bug.cgi?id=612940.

[endlessm/eos-shell#3416]