Lua (d)bitmap: add hflip and vflip functions